java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h3. Summary OSGI Felix ERROR occurs on shutdown h3. Environment JIRA 6.4.x h3. Description When we shutdown JIRA, following error occurs. {noformat} 2015-08-26 10:43:11,826 localhost-startStop-2 ERROR [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.^M java.lang.IllegalStateException: zip file closed^M at java.util.zip.ZipFile.ensureOpen(ZipFile.java:634)^M at java.util.zip.ZipFile.getEntry(ZipFile.java:305)^M at java.util.jar.JarFile.getEntry(JarFile.java:227)^M at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)^M at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)^M at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)^M at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)^M at java.lang.ClassLoader.loadClass(ClassLoader.java:358)^M at java.lang.Class.getDeclaringClass0(Native Method)^M at java.lang.Class.getDeclaringClass(Class.java:1106)^M at java.lang.Class.getEnclosingClass(Class.java:1142)^M at java.lang.Class.getCanonicalName(Class.java:1231)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.getPrettyClassName(BruteForceThreadLocalCleanup.java:257)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.checkThreadLocalMapForLeaks(BruteForceThreadLocalCleanup.java:181)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUpThreadImpl(BruteForceThreadLocalCleanup.java:135)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanupThreadLocals(BruteForceThreadLocalCleanup.java:94)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUp(BruteForceThreadLocalCleanup.java:63)^M at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupThreadLocals(DefaultJiraLauncher.java:225)^M at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupAfterOurselves(DefaultJiraLauncher.java:210)^M at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:190)^M at com.atlassian.jira.startup.LauncherContextListener.contextDestroyed(LauncherContextListener.java:115) <+5> (StandardContext.java:5033) (StandardContext.java:5685) (LifecycleBase.java:232) (ContainerBase.java:1591) (ContainerBase.java:1580)^M at java.util.concurrent.FutureTask.run(FutureTask.java:262)^M at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)^M at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)^M at java.lang.Thread.run(Thread.java:745)^M {noformat} According to past support ticket, this is normal error so we don't have to care about it. (Please see my internal comment.) However, if this error is harmless, please try to make JIRA to stop to output this error on the log.
    via by Yuki Okamoto [Atlassian],
  • h3. Summary OSGI Felix ERROR occurs on shutdown h3. Environment JIRA 6.4.x h3. Description When we shutdown JIRA, following error occurs. {noformat} 2015-08-26 10:43:11,826 localhost-startStop-2 ERROR [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes.^M java.lang.IllegalStateException: zip file closed^M at java.util.zip.ZipFile.ensureOpen(ZipFile.java:634)^M at java.util.zip.ZipFile.getEntry(ZipFile.java:305)^M at java.util.jar.JarFile.getEntry(JarFile.java:227)^M at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)^M at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)^M at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)^M at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)^M at java.lang.ClassLoader.loadClass(ClassLoader.java:358)^M at java.lang.Class.getDeclaringClass0(Native Method)^M at java.lang.Class.getDeclaringClass(Class.java:1106)^M at java.lang.Class.getEnclosingClass(Class.java:1142)^M at java.lang.Class.getCanonicalName(Class.java:1231)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.getPrettyClassName(BruteForceThreadLocalCleanup.java:257)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.checkThreadLocalMapForLeaks(BruteForceThreadLocalCleanup.java:181)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUpThreadImpl(BruteForceThreadLocalCleanup.java:135)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanupThreadLocals(BruteForceThreadLocalCleanup.java:94)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUp(BruteForceThreadLocalCleanup.java:63)^M at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupThreadLocals(DefaultJiraLauncher.java:225)^M at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupAfterOurselves(DefaultJiraLauncher.java:210)^M at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:190)^M at com.atlassian.jira.startup.LauncherContextListener.contextDestroyed(LauncherContextListener.java:115) <+5> (StandardContext.java:5033) (StandardContext.java:5685) (LifecycleBase.java:232) (ContainerBase.java:1591) (ContainerBase.java:1580)^M at java.util.concurrent.FutureTask.run(FutureTask.java:262)^M at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)^M at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)^M at java.lang.Thread.run(Thread.java:745)^M {noformat} According to past support ticket, this is normal error so we don't have to care about it. (Please see my internal comment.) However, if this error is harmless, please try to make JIRA to stop to output this error on the log.
    via by Yuki Okamoto [Atlassian],
  • how to convert HTML files to PDF in Java?
    via by Unknown author,
  • issues in spring petclinic applicaiton
    via Stack Overflow by user2216702
    ,
  • Porting project JBoss AS 6 to JBoss AS 7
    via Stack Overflow by Rounak
    ,
    • java.lang.IllegalStateException: zip file closed^M at java.util.zip.ZipFile.ensureOpen(ZipFile.java:634)^M at java.util.zip.ZipFile.getEntry(ZipFile.java:305)^M at java.util.jar.JarFile.getEntry(JarFile.java:227)^M at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)^M at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)^M at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)^M at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)^M at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)^M at java.lang.ClassLoader.loadClass(ClassLoader.java:358)^M at java.lang.Class.getDeclaringClass0(Native Method)^M at java.lang.Class.getDeclaringClass(Class.java:1106)^M at java.lang.Class.getEnclosingClass(Class.java:1142)^M at java.lang.Class.getCanonicalName(Class.java:1231)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.getPrettyClassName(BruteForceThreadLocalCleanup.java:257)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.checkThreadLocalMapForLeaks(BruteForceThreadLocalCleanup.java:181)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUpThreadImpl(BruteForceThreadLocalCleanup.java:135)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanupThreadLocals(BruteForceThreadLocalCleanup.java:94)^M at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUp(BruteForceThreadLocalCleanup.java:63)^M at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupThreadLocals(DefaultJiraLauncher.java:225) at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupAfterOurselves(DefaultJiraLauncher.java:210)^M at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:190) at com.atlassian.jira.startup.LauncherContextListener.contextDestroyed(LauncherContextListener.java:115) <+5> (StandardContext.java:5033) (StandardContext.java:5685) (LifecycleBase.java:232) (ContainerBase.java:1591) (ContainerBase.java:1580)^M at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    mortalman7
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,