Script Runner 2.1-BETA-8 exceptions in JIRA 5.2.7

There is a bug in version 2.1-BETA-8 in JIRA 5.2.7.

The following exceptions occurs each JIRA shutdown (there are no such exceptions when Script Runner is disabled or version 2.0.11 used since JIRA startup):

2013-03-15 22:12:36,716 localhost-startStop-2 ERROR      [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.
java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:160)
        at java.util.jar.JarFile.getEntry(JarFile.java:209)
        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(ClassLoader.java:247)
        at java.lang.Class.getDeclaringClass(Native Method)
        at java.lang.Class.getEnclosingClass(Class.java:1087)
        at java.lang.Class.getCanonicalName(Class.java:1171)  <+11> (WebappClassLoader.java:2561) (WebappClassLoader.java:2519) (WebappClassLoader.java:2452) (WebappClassLoader.java:1993) (WebappClassLoader.java:1899) (WebappLoader.java:661) (LifecycleBase.java:232) (StandardContext.java:5521) (LifecycleBase.java:232) (ContainerBase.java:1575) (ContainerBase.java:1564)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)
2013-03-15 22:12:36,719 localhost-startStop-2 ERROR      [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.
java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:160)
        at java.util.jar.JarFile.getEntry(JarFile.java:209)
        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(ClassLoader.java:247)
        at java.lang.Class.getDeclaringClass(Native Method)
        at java.lang.Class.getEnclosingClass(Class.java:1087)
        at java.lang.Class.getCanonicalName(Class.java:1171)  <+11> (WebappClassLoader.java:2561) (WebappClassLoader.java:2519) (WebappClassLoader.java:2452) (WebappClassLoader.java:1993) (WebappClassLoader.java:1899) (WebappLoader.java:661) (LifecycleBase.java:232) (StandardContext.java:5521) (LifecycleBase.java:232) (ContainerBase.java:1575) (ContainerBase.java:1564)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)
2013-03-15 22:12:36,720 localhost-startStop-2 ERROR      [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.
java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:160)
        at java.util.jar.JarFile.getEntry(JarFile.java:209)
        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(ClassLoader.java:247)
        at java.lang.Class.getDeclaringClass(Native Method)
        at java.lang.Class.getEnclosingClass(Class.java:1087)
        at java.lang.Class.getCanonicalName(Class.java:1171)  <+11> (WebappClassLoader.java:2561) (WebappClassLoader.java:2519) (WebappClassLoader.java:2452) (WebappClassLoader.java:1993) (WebappClassLoader.java:1899) (WebappLoader.java:661) (LifecycleBase.java:232) (StandardContext.java:5521) (LifecycleBase.java:232) (ContainerBase.java:1575) (ContainerBase.java:1564)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)
2013-03-15 22:12:36,720 localhost-startStop-2 ERROR      [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.
java.lang.IllegalStateException: zip file closed
        at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415)
        at java.util.zip.ZipFile.getEntry(ZipFile.java:160)
        at java.util.jar.JarFile.getEntry(JarFile.java:209)
        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(ClassLoader.java:247)
        at java.lang.Class.getDeclaringClass(Native Method)
        at java.lang.Class.getEnclosingClass(Class.java:1087)
        at java.lang.Class.getCanonicalName(Class.java:1171)  <+11> (WebappClassLoader.java:2561) (WebappClassLoader.java:2519) (WebappClassLoader.java:2452) (WebappClassLoader.java:1993) (WebappClassLoader.java:1899) (WebappLoader.java:661) (LifecycleBase.java:232) (StandardContext.java:5521) (LifecycleBase.java:232) (ContainerBase.java:1575) (ContainerBase.java:1564)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:662)

1 answer

1 accepted

0 vote

Yeah I see that too... harmless afaik. https://jamieechlin.atlassian.net/browse/GRV-134 .

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you