java.lang.IllegalStateException: zip file closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:634)
at java.util.zip.ZipFile.access$200(ZipFile.java:56)
at java.util.zip.ZipFile$1.hasMoreElements(ZipFile.java:487)
at org.eclipse.jetty.util.resource.JarFileResource.exists(JarFileResource.java:191)
at org.eclipse.jetty.webapp.WebAppContext.getResource(WebAppContext.java:372)
at org.zkoss.web.util.resource.ServletContextLocator.getResource0(ServletContextLocator.java:154)
at org.zkoss.web.util.resource.ServletContextLocator.getResource(ServletContextLocator.java:137)
at org.zkoss.web.util.resource.ClassWebResource.getResource(ClassWebResource.java:145)
at org.zkoss.zk.ui.http.AbstractExtendlet.getResourceAsStream(AbstractExtendlet.java:160)
at org.zkoss.zk.ui.http.AbstractExtendlet.access$000(AbstractExtendlet.java:52)
at org.zkoss.zk.ui.http.AbstractExtendlet$RequestContext.getResourceAsStream(AbstractExtendlet.java:200)
at org.zkoss.zk.ui.http.WpdExtendlet.writeResource(WpdExtendlet.java:414)
at org.zkoss.zk.ui.http.WpdExtendlet.parse(WpdExtendlet.java:318)
at org.zkoss.zk.ui.http.WpdExtendlet.access$1600(WpdExtendlet.java:83)
at org.zkoss.zk.ui.http.WpdExtendlet$SourceInfo.parse(WpdExtendlet.java:643)
at org.zkoss.zk.ui.http.WpdExtendlet$SourceInfo.access$1500(WpdExtendlet.java:633)
at org.zkoss.zk.ui.http.WpdExtendlet$Content.parse(WpdExtendlet.java:622)

Users with the same issue

2 times, 4 weeks ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.