java.lang.InternalError: jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null

Spring JIRA | Ivan Sopov | 5 years ago
  1. 0

    1. spring-context-3.1.0.RELEASE.jar cannot be opened with JRockit6 2. It can be opened by my file manager with unzip plugin. 3. It can be opened with Oracle Jdk7 4. spring-context-3.0.5.RELEASE.jar is usable with both Oracle Jdk7 and JRockit6. Exception from the simple console program: Exception in thread "Main Thread" java.lang.InternalError: jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null at java.util.zip.ZipFile$2.nextElement(ZipFile.java:322) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:304) Exception from the Eclipse trying to show the context of the jar: java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(ZipFile.java:56) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:677) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:413) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsByteArray(Util.java:523) at org.eclipse.jdt.internal.compiler.util.Util.getZipEntryByteContent(Util.java:689) at org.eclipse.jdt.internal.core.ClassFile.getJarBinaryTypeInfo(ClassFile.java:347)... The same issue is with spring-core, spring-beans, spring-aop. There is no such issue with spring-webmvc, spring-asm, spring-expression, spring-web.

    Spring JIRA | 5 years ago | Ivan Sopov
    java.lang.InternalError: jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null
  2. 0

    1. spring-context-3.1.0.RELEASE.jar cannot be opened with JRockit6 2. It can be opened by my file manager with unzip plugin. 3. It can be opened with Oracle Jdk7 4. spring-context-3.0.5.RELEASE.jar is usable with both Oracle Jdk7 and JRockit6. Exception from the simple console program: Exception in thread "Main Thread" java.lang.InternalError: jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null at java.util.zip.ZipFile$2.nextElement(ZipFile.java:322) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:304) Exception from the Eclipse trying to show the context of the jar: java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(ZipFile.java:56) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:677) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:413) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsByteArray(Util.java:523) at org.eclipse.jdt.internal.compiler.util.Util.getZipEntryByteContent(Util.java:689) at org.eclipse.jdt.internal.core.ClassFile.getJarBinaryTypeInfo(ClassFile.java:347)... The same issue is with spring-core, spring-beans, spring-aop. There is no such issue with spring-webmvc, spring-asm, spring-expression, spring-web.

    Spring JIRA | 5 years ago | Ivan Sopov
    java.lang.InternalError: jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Problem with reloading dependent JAR in EAR file.

    Google Groups | 2 decades ago | Scott Rankin
    java.lang.InternalError: jzentry == 0

    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.InternalError

      jzentry == 0, jzfile = 140386186737856, total = 755, name = /home/isopov/.m2/repository/org/springframework/spring-context/3.1.0.RELEASE/spring-context-3.1.0.RELEASE.jar, i = 1, message = null

      at java.util.zip.ZipFile$2.nextElement()
    2. Java RT
      ZipFile$2.nextElement
      1. java.util.zip.ZipFile$2.nextElement(ZipFile.java:322)
      2. java.util.zip.ZipFile$2.nextElement(ZipFile.java:304)
      2 frames