java.lang.IllegalStateException: zip file closed

JIRA | Enrique Cadalso | 1 year ago
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-749].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Upgrading from 2.1.17 to 3.0.16 works fine {noformat} 2015-07-06 06:00:45,250 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.loaders.ScanningPluginLoader] No plugins found to be installed 2015-07-06 06:00:55,645 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Found dependent enabled plugins for uninstalled plugin 'com.onresolve.jira.groovy.groovyrunner': []. Disabling... 2015-07-06 06:00:55,645 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.onresolve.jira.groovy.groovyrunner' to 'com.onresolve.jira.groovy.groovyrunner' 2015-07-06 06:00:55,646 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Disabling com.onresolve.jira.groovy.groovyrunner 2015-07-06 06:00:55,987 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.onresolve.jira.groovy.groovyrunner 2015-07-06 06:00:56,373 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 60 seconds remaining 2015-07-06 06:00:57,374 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 58 seconds remaining 2015-07-06 06:00:58,449 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 57 seconds remaining {noformat} And plugin works ok. Upgrading to latest 3.1.3 {noformat} 2015-07-09 12:40:41,267 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.onresolve.jira.groovy.groovyrunner' to 'com.onresolve.jira.groovy.groovyrunner' 2015-07-09 12:40:41,267 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] Disabling com.onresolve.jira.groovy.groovyrunner 2015-07-09 12:40:41,567 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.onresolve.jira.groovy.groovyrunner 2015-07-09 12:40:41,949 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 60 seconds remaining 2015-07-09 12:40:42,950 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 58 seconds remaining 2015-07-09 12:40:43,951 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 57 seconds remaining 2015-07-09 12:40:49,854 QuartzScheduler_Worker-0 ERROR ServiceRunner com.onresolve.jira.groovy.canned.admin.EscalationService:job [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:127) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:122) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:165) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:227) at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751) at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32) at groovy.lang.Reference.<init>(Reference.java:35) at com.onresolve.jira.groovy.JiraGroovyResourceLoader.loadGroovySource(JiraGroovyResourceLoader.groovy) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:754) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:449) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:826) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.beans.finder.ClassFinder.findClass(Unknown Source) at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source) at com.sun.beans.finder.InstanceFinder.find(Unknown Source) at java.beans.Introspector.findExplicitBeanInfo(Unknown Source) at java.beans.Introspector.<init>(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at groovy.lang.MetaClassImpl$14.run(MetaClassImpl.java:2920) at java.security.AccessController.doPrivileged(Native Method) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2918) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2901) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at com.onresolve.jira.groovy.canned.admin.EscalationService.$getStaticMetaClass(EscalationService.groovy) at com.onresolve.jira.groovy.canned.admin.EscalationService.<init>(EscalationService.groovy:50) <+2> at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService.run(JiraPluginSchedulerService.java:82) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2015-07-09 12:40:49,860 QuartzScheduler_Worker-0 ERROR ServiceRunner com.onresolve.jira.groovy.canned.admin.EscalationService:job [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:127) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:122) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:165) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:227) at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751) at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32) at groovy.lang.Reference.<init>(Reference.java:35) at com.onresolve.jira.groovy.JiraGroovyResourceLoader.loadGroovySource(JiraGroovyResourceLoader.groovy) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:754) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:449) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:826) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.beans.finder.ClassFinder.findClass(Unknown Source) at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source) at com.sun.beans.finder.InstanceFinder.find(Unknown Source) at java.beans.Introspector.findExplicitBeanInfo(Unknown Source) at java.beans.Introspector.<init>(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at groovy.lang.MetaClassImpl$14.run(MetaClassImpl.java:2920) at java.security.AccessController.doPrivileged(Native Method) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2918) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2901) {noformat} Plugin manager shows error !2015-07-10_1315.png! And later on error in the log {noformat} 2015-07-09 11:20:13,742 ThreadPoolAsyncTaskExecutor::Thread 25 ERROR enriquec 357x137x2 jztdzv 10.30.0.198 /rest/plugins/1.0/available/featured [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.onresolve.jira.groovy.groovyrunner java.lang.NoClassDefFoundError: com/atlassian/scheduler/SchedulerService at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructors(Unknown Source) at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.scheduler.SchedulerService at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 24 more 2015-07-09 11:20:13,744 ThreadPoolAsyncTaskExecutor::Thread 25 ERROR enriquec 357x137x2 jztdzv 10.30.0.198 /rest/plugins/1.0/available/featured [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.onresolve.jira.groovy.groovyrunner, config=osgibundle:/META-INF/spring/*.xml)) java.lang.NoClassDefFoundError: com/atlassian/scheduler/SchedulerService at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructors(Unknown Source) at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.scheduler.SchedulerService at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 24 more {noformat} And can't browse any project after that. Error "Sorry, we had some technical problems during your last operation"

    JIRA | 1 year ago | Enrique Cadalso
    java.lang.IllegalStateException: zip file closed
  2. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-749].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Upgrading from 2.1.17 to 3.0.16 works fine {noformat} 2015-07-06 06:00:45,250 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.loaders.ScanningPluginLoader] No plugins found to be installed 2015-07-06 06:00:55,645 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Found dependent enabled plugins for uninstalled plugin 'com.onresolve.jira.groovy.groovyrunner': []. Disabling... 2015-07-06 06:00:55,645 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.onresolve.jira.groovy.groovyrunner' to 'com.onresolve.jira.groovy.groovyrunner' 2015-07-06 06:00:55,646 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.manager.DefaultPluginManager] Disabling com.onresolve.jira.groovy.groovyrunner 2015-07-06 06:00:55,987 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.onresolve.jira.groovy.groovyrunner 2015-07-06 06:00:56,373 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 60 seconds remaining 2015-07-06 06:00:57,374 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 58 seconds remaining 2015-07-06 06:00:58,449 UpmAsynchronousTaskManager:thread-1 INFO enriquec 347x320x2 ozqctv 10.30.0.198 /rest/plugins/1.0/available/featured [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 57 seconds remaining {noformat} And plugin works ok. Upgrading to latest 3.1.3 {noformat} 2015-07-09 12:40:41,267 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] Updating plugin 'com.onresolve.jira.groovy.groovyrunner' to 'com.onresolve.jira.groovy.groovyrunner' 2015-07-09 12:40:41,267 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.manager.DefaultPluginManager] Disabling com.onresolve.jira.groovy.groovyrunner 2015-07-09 12:40:41,567 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.loaders.ScanningPluginLoader] Removed plugin com.onresolve.jira.groovy.groovyrunner 2015-07-09 12:40:41,949 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 60 seconds remaining 2015-07-09 12:40:42,950 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 58 seconds remaining 2015-07-09 12:40:43,951 UpmAsynchronousTaskManager:thread-3 INFO enriquec 760x267x1 b8yiyk 192.168.32.1 /rest/plugins/1.0/ [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.onresolve.jira.groovy.groovyrunner], 57 seconds remaining 2015-07-09 12:40:49,854 QuartzScheduler_Worker-0 ERROR ServiceRunner com.onresolve.jira.groovy.canned.admin.EscalationService:job [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:127) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:122) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:165) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:227) at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751) at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32) at groovy.lang.Reference.<init>(Reference.java:35) at com.onresolve.jira.groovy.JiraGroovyResourceLoader.loadGroovySource(JiraGroovyResourceLoader.groovy) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:754) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:449) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:826) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.beans.finder.ClassFinder.findClass(Unknown Source) at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source) at com.sun.beans.finder.InstanceFinder.find(Unknown Source) at java.beans.Introspector.findExplicitBeanInfo(Unknown Source) at java.beans.Introspector.<init>(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at groovy.lang.MetaClassImpl$14.run(MetaClassImpl.java:2920) at java.security.AccessController.doPrivileged(Native Method) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2918) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2901) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at com.onresolve.jira.groovy.canned.admin.EscalationService.$getStaticMetaClass(EscalationService.groovy) at com.onresolve.jira.groovy.canned.admin.EscalationService.<init>(EscalationService.groovy:50) <+2> at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.atlassian.sal.jira.scheduling.JiraPluginSchedulerService.run(JiraPluginSchedulerService.java:82) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2015-07-09 12:40:49,860 QuartzScheduler_Worker-0 ERROR ServiceRunner com.onresolve.jira.groovy.canned.admin.EscalationService:job [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(Unknown Source) at java.util.zip.ZipFile.getEntry(Unknown Source) at java.util.jar.JarFile.getEntry(Unknown Source) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:127) at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:122) at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:165) at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:227) at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751) at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32) at groovy.lang.Reference.<init>(Reference.java:35) at com.onresolve.jira.groovy.JiraGroovyResourceLoader.loadGroovySource(JiraGroovyResourceLoader.groovy) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:754) at groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:449) at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:826) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.beans.finder.ClassFinder.findClass(Unknown Source) at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source) at com.sun.beans.finder.InstanceFinder.find(Unknown Source) at java.beans.Introspector.findExplicitBeanInfo(Unknown Source) at java.beans.Introspector.<init>(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at groovy.lang.MetaClassImpl$14.run(MetaClassImpl.java:2920) at java.security.AccessController.doPrivileged(Native Method) at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2918) at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2901) {noformat} Plugin manager shows error !2015-07-10_1315.png! And later on error in the log {noformat} 2015-07-09 11:20:13,742 ThreadPoolAsyncTaskExecutor::Thread 25 ERROR enriquec 357x137x2 jztdzv 10.30.0.198 /rest/plugins/1.0/available/featured [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.onresolve.jira.groovy.groovyrunner java.lang.NoClassDefFoundError: com/atlassian/scheduler/SchedulerService at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructors(Unknown Source) at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.scheduler.SchedulerService at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 24 more 2015-07-09 11:20:13,744 ThreadPoolAsyncTaskExecutor::Thread 25 ERROR enriquec 357x137x2 jztdzv 10.30.0.198 /rest/plugins/1.0/available/featured [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.onresolve.jira.groovy.groovyrunner, config=osgibundle:/META-INF/spring/*.xml)) java.lang.NoClassDefFoundError: com/atlassian/scheduler/SchedulerService at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructors(Unknown Source) at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.scheduler.SchedulerService at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(Unknown Source) ... 24 more {noformat} And can't browse any project after that. Error "Sorry, we had some technical problems during your last operation"

    JIRA | 1 year ago | Enrique Cadalso
    java.lang.IllegalStateException: zip file closed
  3. 0

    [JRA-24453] Unable to read bytes error on JIRA startup - Atlassian JIRA

    atlassian.com | 11 months ago
    java.lang.IllegalStateException: zip file closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      zip file closed

      at java.util.zip.ZipFile.ensureOpen()
    2. Java RT
      JarFile.getEntry
      1. java.util.zip.ZipFile.ensureOpen(Unknown Source)
      2. java.util.zip.ZipFile.getEntry(Unknown Source)
      3. java.util.jar.JarFile.getEntry(Unknown Source)
      3 frames
    3. Apache Felix Framework
      ModuleImpl$ModuleClassLoader.loadClass
      1. org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)
      2. org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)
      3. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)
      4. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)
      5. org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
      6. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
      6 frames
    4. Java RT
      Class.forName
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Unknown Source)
      3 frames
    5. Groovy
      Reference.<init>
      1. groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:127)
      2. groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:122)
      3. org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:165)
      4. org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182)
      5. org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:227)
      6. org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751)
      7. groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32)
      8. groovy.lang.Reference.<init>(Reference.java:35)
      8 frames
    6. com.onresolve.jira
      JiraGroovyResourceLoader.loadGroovySource
      1. com.onresolve.jira.groovy.JiraGroovyResourceLoader.loadGroovySource(JiraGroovyResourceLoader.groovy)
      1 frame
    7. Groovy
      GroovyClassLoader.loadClass
      1. groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:754)
      2. groovy.lang.GroovyClassLoader$InnerLoader.loadClass(GroovyClassLoader.java:449)
      3. groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:826)
      3 frames
    8. Java RT
      Introspector.getBeanInfo
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. java.lang.Class.forName0(Native Method)
      3. java.lang.Class.forName(Unknown Source)
      4. com.sun.beans.finder.ClassFinder.findClass(Unknown Source)
      5. com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source)
      6. com.sun.beans.finder.InstanceFinder.find(Unknown Source)
      7. java.beans.Introspector.findExplicitBeanInfo(Unknown Source)
      8. java.beans.Introspector.<init>(Unknown Source)
      9. java.beans.Introspector.getBeanInfo(Unknown Source)
      9 frames
    9. Groovy
      MetaClassImpl$14.run
      1. groovy.lang.MetaClassImpl$14.run(MetaClassImpl.java:2920)
      1 frame
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. Groovy
      MetaClassImpl.initialize
      1. groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2918)
      2. groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2901)
      2 frames