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

Solutions on the web

via netbeans.org by Unknown author, 1 year ago
via netbeans.org by Unknown author, 1 year ago
via netbeans.org by Unknown author, 1 year ago
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:595)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:341)
at java.util.jar.JarFile.getInputStream(JarFile.java:403)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getInputStream(Unknown Source)
at sun.misc.URLClassPath$Loader$1.getInputStream(URLClassPath.java:553)
at sun.misc.Resource.cachedInputStream(Resource.java:77)
at sun.misc.Resource.getByteBuffer(Resource.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at javasoft.sqe.tests.api.java.net.distributed.MyURLClassLoader.findClass(NetDistributedTests.java:2202)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests$6.run(NetDistributedTests.java:886)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:279)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:235)
at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:157)
at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:86)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2006(NetDistributedTests.java:932)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at javasoft.sqe.javatest.lib.TestCases.invokeTestCases(TestCases.java:173)
at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:57)
at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:84)
at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:71)
at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:488)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:436)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:259)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:161)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:815)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:759)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:621)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:392)
at com.sun.javatest.agent.Agent.access$000(Agent.java:60)
at com.sun.javatest.agent.Agent$1.run(Agent.java:270)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

2 times, 2 months ago
Once, 8 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.