java.lang.IllegalStateException: zip file closed

atlassian.com | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    In Bamboo 5.x we started seeing this cryptic error, which is kind of harmless, but sometimes people are worried about it: {code} 2013-09-05 00:10:58,621 ERROR [Finalizer] [FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:420) at java.util.zip.ZipFile.getEntry(ZipFile.java:165) at java.util.jar.JarFile.getEntry(JarFile.java:224) 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:266) at org.apache.http.impl.conn.PoolingClientConnectionManager.shutdown(PoolingClientConnectionManager.java:284) at org.apache.http.impl.conn.PoolingClientConnectionManager.finalize(PoolingClientConnectionManager.java:121) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101) at java.lang.ref.Finalizer.access$100(Finalizer.java:32) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190) {code}

    Atlassian JIRA | 3 years ago | Armen Khachatryan [Atlassian]
    java.lang.IllegalStateException: zip file closed
  3. 0

    In Bamboo 5.x we started seeing this cryptic error, which is kind of harmless, but sometimes people are worried about it: {code} 2013-09-05 00:10:58,621 ERROR [Finalizer] [FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:420) at java.util.zip.ZipFile.getEntry(ZipFile.java:165) at java.util.jar.JarFile.getEntry(JarFile.java:224) 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:266) at org.apache.http.impl.conn.PoolingClientConnectionManager.shutdown(PoolingClientConnectionManager.java:284) at org.apache.http.impl.conn.PoolingClientConnectionManager.finalize(PoolingClientConnectionManager.java:121) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101) at java.lang.ref.Finalizer.access$100(Finalizer.java:32) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190) {code}

    Atlassian JIRA | 3 years ago | Armen Khachatryan [Atlassian]
    java.lang.IllegalStateException: zip file closed

    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(ZipFile.java:632)
      2. java.util.zip.ZipFile.getEntry(ZipFile.java:303)
      3. java.util.jar.JarFile.getEntry(JarFile.java:226)
      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
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      1 frame
    5. Apache HttpClient
      PoolingClientConnectionManager.finalize
      1. org.apache.http.impl.conn.PoolingClientConnectionManager.shutdown(PoolingClientConnectionManager.java:284)
      2. org.apache.http.impl.conn.PoolingClientConnectionManager.finalize(PoolingClientConnectionManager.java:121)
      2 frames
    6. Java RT
      Finalizer$FinalizerThread.run
      1. java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
      2. java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)
      3. java.lang.ref.Finalizer.access$100(Finalizer.java:32)
      4. java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:178)
      4 frames