java.lang.IllegalStateException: zip file closed

SpringSource Issue Tracker | Steffen Pingel | 5 years ago
  1. 0

    ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed) java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416) at java.util.zip.ZipFile.getEntry(ZipFile.java:161) at java.util.jar.JarFile.getEntry(JarFile.java:208) 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:1781) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758) at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:126) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.findProviderClass(ObjectFactory.java:506) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.lookUpFactoryClass(ObjectFactory.java:217) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:131) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:101) at com.sun.org.apache.xml.internal.dtm.DTMManager.newInstance(DTMManager.java:135) at com.sun.org.apache.xpath.internal.XPathContext.<init>(XPathContext.java:100) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:110) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:98) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:180) at org.springframework.roo.support.util.XmlUtils.findElements(XmlUtils.java:371) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.populateBundleCache(AddOnRooBotEclipseOperationsImpl.java:373) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.access$1(AddOnRooBotEclipseOperationsImpl.java:301) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl$1.run(AddOnRooBotEclipseOperationsImpl.java:83) at java.lang.Thread.run(Thread.java:662)

    SpringSource Issue Tracker | 5 years ago | Steffen Pingel
    java.lang.IllegalStateException: zip file closed
  2. 0

    ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed) java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416) at java.util.zip.ZipFile.getEntry(ZipFile.java:161) at java.util.jar.JarFile.getEntry(JarFile.java:208) 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:1781) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758) at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:126) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.findProviderClass(ObjectFactory.java:506) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.lookUpFactoryClass(ObjectFactory.java:217) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:131) at com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:101) at com.sun.org.apache.xml.internal.dtm.DTMManager.newInstance(DTMManager.java:135) at com.sun.org.apache.xpath.internal.XPathContext.<init>(XPathContext.java:100) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:110) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:98) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:180) at org.springframework.roo.support.util.XmlUtils.findElements(XmlUtils.java:371) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.populateBundleCache(AddOnRooBotEclipseOperationsImpl.java:373) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.access$1(AddOnRooBotEclipseOperationsImpl.java:301) at org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl$1.run(AddOnRooBotEclipseOperationsImpl.java:83) at java.lang.Thread.run(Thread.java:662)

    SpringSource Issue Tracker | 5 years ago | Steffen Pingel
    java.lang.IllegalStateException: zip file closed
  3. 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(ZipFile.java:416)
      2. java.util.zip.ZipFile.getEntry(ZipFile.java:161)
      3. java.util.jar.JarFile.getEntry(JarFile.java:208)
      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:1781)
      4. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758)
      5. org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
      6. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
      6 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      1 frame
    5. Eclipse OSGi
      ContextFinder.loadClass
      1. org.eclipse.core.runtime.internal.adaptor.ContextFinder.loadClass(ContextFinder.java:126)
      1 frame
    6. Java RT
      XPathExpressionImpl.evaluate
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      2. com.sun.org.apache.xml.internal.dtm.ObjectFactory.findProviderClass(ObjectFactory.java:506)
      3. com.sun.org.apache.xml.internal.dtm.ObjectFactory.lookUpFactoryClass(ObjectFactory.java:217)
      4. com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:131)
      5. com.sun.org.apache.xml.internal.dtm.ObjectFactory.createObject(ObjectFactory.java:101)
      6. com.sun.org.apache.xml.internal.dtm.DTMManager.newInstance(DTMManager.java:135)
      7. com.sun.org.apache.xpath.internal.XPathContext.<init>(XPathContext.java:100)
      8. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:110)
      9. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:98)
      10. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:180)
      10 frames
    7. org.springframework.roo
      AddOnRooBotEclipseOperationsImpl$1.run
      1. org.springframework.roo.support.util.XmlUtils.findElements(XmlUtils.java:371)
      2. org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.populateBundleCache(AddOnRooBotEclipseOperationsImpl.java:373)
      3. org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl.access$1(AddOnRooBotEclipseOperationsImpl.java:301)
      4. org.springframework.roo.addon.roobot.eclipse.client.AddOnRooBotEclipseOperationsImpl$1.run(AddOnRooBotEclipseOperationsImpl.java:83)
      4 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame