java.lang.IllegalStateException: zip file closed

Atlassian JIRA | Tim Pettersen [Atlassian] | 5 years ago
  1. 0

    Note the first line of the log indicates Stash is shutting down. {noformat} 2012-05-31 08:56:46,102 INFO [Thread-23] c.a.s.i.server.ApplicationInfoLogger Shutting down Stash 1.1.0-SNAPSHOT 2012-05-31 08:56:46,502 ERROR [NioSocketAcceptor-1] c.a.p.o.c.f.FelixOsgiContainerManager JarContent: Unable to read bytes. java.util.zip.ZipException: ZipFile closed at java.util.zip.ZipFile.ensureOpenOrZipException(ZipFile.java:425) ~[na:1.6.0_27] at java.util.zip.ZipFile.access$1100(ZipFile.java:31) ~[na:1.6.0_27] at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:457) ~[na:1.6.0_27] at java.util.zip.ZipFile$1.fill(ZipFile.java:242) ~[na:1.6.0_27] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) ~[na:1.6.0_27] at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:133) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) [org.apache.felix.framework-3.0.2.jar:na] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [na:1.6.0_27] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.startupProcessor(AbstractPollingIoProcessor.java:460) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.dispose(AbstractPollingIoProcessor.java:200) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:299) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:466) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_27] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_27] 2012-05-31 08:56:46,527 ERROR [NioSocketAcceptor-1] c.a.p.o.c.f.FelixOsgiContainerManager JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415) ~[na:1.6.0_27] at java.util.zip.ZipFile.getEntry(ZipFile.java:160) ~[na:1.6.0_27] at java.util.jar.JarFile.getEntry(JarFile.java:208) ~[na:1.6.0_27] at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) [org.apache.felix.framework-3.0.2.jar:na] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [na:1.6.0_27] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java) [org.apache.felix.framework-3.0.2.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.startupProcessor(AbstractPollingIoProcessor.java:460) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.polling.AbstractPollingIoProcessor.dispose(AbstractPollingIoProcessor.java:200) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:299) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:466) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_27] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_27] {noformat}

    Atlassian JIRA | 5 years ago | Tim Pettersen [Atlassian]
    java.lang.IllegalStateException: zip file closed
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    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:415)[na:1.6.0_27]
      2. java.util.zip.ZipFile.getEntry(ZipFile.java:160)[na:1.6.0_27]
      3. java.util.jar.JarFile.getEntry(JarFile.java:208)[na:1.6.0_27]
      3 frames
    3. Apache Felix Framework
      ModuleImpl$ModuleClassLoader.loadClass
      1. org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)[org.apache.felix.framework-3.0.2.jar:na]
      2. org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)[org.apache.felix.framework-3.0.2.jar:na]
      3. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738)[org.apache.felix.framework-3.0.2.jar:na]
      4. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)[org.apache.felix.framework-3.0.2.jar:na]
      5. org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)[org.apache.felix.framework-3.0.2.jar:na]
      6. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)[org.apache.felix.framework-3.0.2.jar:na]
      6 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:247)[na:1.6.0_27]
      1 frame
    5. Apache Felix Framework
      ModuleImpl$ModuleClassLoader.loadClass
      1. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java)[org.apache.felix.framework-3.0.2.jar:na]
      1 frame
    6. Apache MINA Core
      AbstractPollingIoAcceptor$Acceptor.run
      1. org.apache.mina.core.polling.AbstractPollingIoProcessor.startupProcessor(AbstractPollingIoProcessor.java:460)[stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na]
      2. org.apache.mina.core.polling.AbstractPollingIoProcessor.dispose(AbstractPollingIoProcessor.java:200)[stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na]
      3. org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:299)[stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na]
      4. org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:466)[stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na]
      4 frames
    7. MINA
      NamePreservingRunnable.run
      1. org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)[stash-ssh-1.1.0-SNAPSHOT_1338443370000.jar:na]
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_27]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_27]
      3. java.lang.Thread.run(Thread.java:662)[na:1.6.0_27]
      3 frames