ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter.V.W...@kp.org
Subject Re: Exception while compiling
Date Fri, 02 Aug 2002 17:37:16 GMT
I got the same error.  Here are some other details:
1.  It occurred after I increased the number of files being compiled (from 
1800 to  >2000)
2.  Right after it occurred, I ran the offending target again, (without 
changing anything) and there was no error. 
3.  The next time I ran the whole build, there was no error. 
4.  I haven't reproduced the error.

Because of #2, I thought that the cause related to the running of that 
target as part of the whole build.  But becaue of #3,  I can't tell.

The output says that it's a compiler error and we should file a bug.  It 
might be something that we can't do anything about.





"Buonassisi, Vincent" <vbuona01@sprintspectrum.com>
08/02/2002 09:56 AM
Please respond to "Ant Users List"

 
        To:     "'ant-user@jakarta.apache.org'" <ant-user@jakarta.apache.org>
        cc: 
        Subject:        Exception while compiling


Hi,

While building several targets I get the error listed below.  If i build 
the
targets one at a time this does not happen.  Does anyone know the reason 
why
this happens?

    [javac] An exception has occurred in the compiler (1.3.1_01). 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:1191)
    [javac]     at
com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1213)
    [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:92)
    [javac]     at
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:557)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:184)
    [javac]     at 
org.apache.tools.ant.Target.performTasks(Target.java:202)
    [javac]     at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [javac]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:266)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:184)
    [javac]     at 
org.apache.tools.ant.Target.performTasks(Target.java:202)
    [javac]     at
org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [javac]     at
org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [javac]     at org.apache.tools.ant.Main.start(Main.java:153)
    [javac]     at org.apache.tools.ant.Main.main(Main.java:176)

thanks,

Vincent J. Buonassisi
IT Enterprise Reusable Components
Sprint PCS
(913) 794-3705



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>




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