ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <kcoll...@convio.com>
Subject Re: Exception while compiling
Date Sat, 03 Aug 2002 19:43:12 GMT
Make sure that the Jar/Zip files that you are using in your compilation
aren't corrupted somehow.  I ran into the same stack trace that you saw when
I checked out my Jars w/o the -kb flag.  (I found out what I had done wrong
when I looked at Java bug #4353705
(<http://developer.java.sun.com/developer/bugParade/bugs/4353705.html>).
Note that although the bug is talking about *creating* Jar files (and is
fixed in 1.3.1_01), I ran into the symptom described in the bug when I had
corrupted Jar/Zip files in my compilation.)

Kendall

----- Original Message -----
From: <Peter.V.Wall@kp.org>
To: <ant-user@jakarta.apache.org>
Sent: Friday, August 02, 2002 12:37
Subject: Re: Exception while compiling


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



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


Mime
View raw message