ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Rodrigues" <richard_rodrig...@infy.com>
Subject javac fails intermittently
Date Thu, 02 Aug 2001 07:09:32 GMT
Hi,
 
Sorry if this has been posted earlier.
My ant build runs into the following problem often.
The funny part is if I run the build again it works without a hitch.
 
 
    [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(ClassReader.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.java:1180)
    [javac]     at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1202)
    [javac]     at
com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955)
    [javac]     at
com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
    [javac]     at
com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
    [javac]     at
com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
    [javac]     at
com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
    [javac]     at
com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
    [javac]     at
com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
    [javac]     at
com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
    [javac]     at com.sun.tools.javac.v8.Main.compile(Main.java:247)
    [javac]     at com.sun.tools.javac.Main.compile(Main.java:26)
    [javac]     at java.lang.reflect.Method.invoke(Native Method)
    [javac]     at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:99)
    [javac]     at
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:461)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:153)
    [javac]     at
org.apache.tools.ant.Project.runTarget(Project.java:898)
    [javac]     at
org.apache.tools.ant.Project.executeTarget(Project.java:536)
    [javac]     at
org.apache.tools.ant.Project.executeTargets(Project.java:510)
 
    [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:421)
    [javac]     at org.apache.tools.ant.Main.main(Main.java:149)
    [javac] Compile failed, messages should have been provided.
 
Am I missing something or is there a workaround?
Is this related to javac not releasing locks?
 
Regards,
Richard.

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message