dcsimg
Why do I sometimes get the follwing error?!_NEWLINE_! [javac] java.lang.InternalError: jzentry == 0!_NEWLINE_! [javac] at java.util.zip.ZipFile$2.nextElement
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rick_Hightower
Posted On:   Tuesday, August 14, 2001 04:41 PM

I am getting a nasty javac error as follows. This always seem to go away if I run this same ant build file twice. Why do I get this error? And is there a work around? prepare: [mkdir] Created dir: C: mpgreek101appclasses compile: [javac] Compiling 11 source files to C: mpgreek101appclasses [javac] An exception has occurred in the compiler (1.3.0). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.InternalError: jzentry == 0 [javac] at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297) [javac] at co   More>>

I am getting a nasty javac error as follows. This always seem to go away if I run this same ant build file twice.

Why do I get this error?
And is there a work around?

			
prepare:
[mkdir] Created dir: C: mpgreek101appclasses

compile:
[javac] Compiling 11 source files to C: mpgreek101appclasses
[javac] An exception has occurred in the compiler (1.3.0). Please file a bug
at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi).
Include your program and the following diagnostic in your report. Thank you.
[javac] java.lang.InternalError: jzentry == 0
[javac] at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
[javac] at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassRead
er.java:893)
[javac] at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java
:1095)
[javac] at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.j
   <<Less

Re: Why do I sometimes get the follwing error?

Posted By:   Anonymous  
Posted On:   Tuesday, January 29, 2002 09:08 AM

I have just had the same problem. (Sorry to be late, but I installed Ant this morning :-P).
I realized that my problem was due to a conflict bewteen Ant parser and my application parser.
Try to start with an empty classpath and add jar files one by one in order to find what jar conflicts with ant's parser.jar.

Re: Why do I sometimes get the follwing error?

Posted By:   Eric_Lefevre  
Posted On:   Wednesday, August 15, 2001 07:48 AM

You might be trying to modify a jar file, then to use it in your classpath.

Look at the following pages:

http://developer.java.sun.com/developer/bugParade/bugs/4353705.html

and

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1035

Re: Why do I sometimes get the follwing error?

Posted By:   skyyoung_shmilu  
Posted On:   Tuesday, August 14, 2001 06:16 PM

Could you show your ZipFile.java file?

Re: Why do I sometimes get the follwing error?

Posted By:   Erik_Hatcher  
Posted On:   Tuesday, August 14, 2001 05:54 PM

Give Ant 1.4 beta a try and see what results you get then. Post back if there are still issues.
About | Sitemap | Contact