Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8015931

Exception " java.lang.IllegalStateException: zip file closed "

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7u15
    • deploy

      FULL PRODUCT VERSION :
      java version " 1.7.0_17 "
      Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      OS X 10.8.3

      A DESCRIPTION OF THE PROBLEM :
      When attempting to exit our application, on Mac OS X 10.8, running from a JNLP file, the error listed below is produced. The application then hangs and has to be closed with Force Quit. This is only a problem when the application is run with Java Web Start; when the jar file is run from the command line, the application closes normally. The error is specific to Mac and is not produced on Windows or Linux.

      20130506_162817: Exception " java.lang.IllegalStateException: zip file closed " occurred in thread ID 65(Thread-25)
      java.util.zip.ZipFile.ensureOpen(ZipFile.java:632)
      java.util.zip.ZipFile.getEntry(ZipFile.java:303)
      java.util.jar.JarFile.getEntry(JarFile.java:226)
      com.sun.deploy.cache.CachedJarFile.getEntry(Unknown Source)
      java.util.jar.JarFile.getJarEntry(JarFile.java:209)
      com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      java.net.URLClassLoader$1.run(URLClassLoader.java:358)
      java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      java.lang.ClassLoader.loadClass(ClassLoader.java:410)
      java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      jogamp.opengl.egl.EGLDrawableFactory.destroy(EGLDrawableFactory.java:242)
      javax.media.opengl.GLDrawableFactory.shutdownImpl(GLDrawableFactory.java:214)
      javax.media.opengl.GLDrawableFactory.access$100(GLDrawableFactory.java:96)
      javax.media.opengl.GLDrawableFactory$1.run(GLDrawableFactory.java:233)
      java.lang.Thread.run(Thread.java:722)

      REGRESSION. Last worked in version 6u45

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run application BioLayout Express3D from http://www.biolayout.org by clicking the button " Launch BioLayout Express3D " in the sidebar of the web page. This launches the program using Java Web Start. Quit the program using command-Q. The Exception listed above is generated.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The program should shut down normally.
      ACTUAL -
      The program hangs and has to be closed using Force Quit

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      20130506_162817: Exception " java.lang.IllegalStateException: zip file closed " occurred in thread ID 65(Thread-25)
      java.util.zip.ZipFile.ensureOpen(ZipFile.java:632)
      java.util.zip.ZipFile.getEntry(ZipFile.java:303)
      java.util.jar.JarFile.getEntry(JarFile.java:226)
      com.sun.deploy.cache.CachedJarFile.getEntry(Unknown Source)
      java.util.jar.JarFile.getJarEntry(JarFile.java:209)
      com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
      com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      java.net.URLClassLoader$1.run(URLClassLoader.java:358)
      java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      java.security.AccessController.doPrivileged(Native Method)
      java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
      java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      java.lang.ClassLoader.loadClass(ClassLoader.java:410)
      java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      jogamp.opengl.egl.EGLDrawableFactory.destroy(EGLDrawableFactory.java:242)
      javax.media.opengl.GLDrawableFactory.shutdownImpl(GLDrawableFactory.java:214)
      javax.media.opengl.GLDrawableFactory.access$100(GLDrawableFactory.java:96)
      javax.media.opengl.GLDrawableFactory$1.run(GLDrawableFactory.java:233)
      java.lang.Thread.run(Thread.java:722)

      REPRODUCIBILITY :
      This bug can be reproduced always.

            ddehaven David Dehaven (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: