This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I build first time, the exception given below doesn't occur. When I build again and again after a couple of times I see the exception given below. Workaround : Close net beans, reopen it and build it again. 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. java.lang.InternalError: jzentry == 0 at java.util.zip.ZipFile$2.nextElement (ZipFile.java:297) at com.sun.tools.javac.v8.code.ClassReader.openArchive (ClassReader.java:893) at com.sun.tools.javac.v8.code.ClassReader.list (ClassReader.java:1095) at com.sun.tools.javac.v8.code.ClassReader.listAll (ClassReader.java:1191) at com.sun.tools.javac.v8.code.ClassReader.fillIn (ClassReader.java:1213) at com.sun.tools.javac.v8.code.ClassReader.complete (ClassReader.java:955) at com.sun.tools.javac.v8.code.Symbol.complete (Symbol.java:366) at com.sun.tools.javac.v8.comp.Enter._case (Enter.java:424) at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit (Tree.java:349) at com.sun.tools.javac.v8.comp.Enter.classEnter (Enter.java:392) at com.sun.tools.javac.v8.comp.Enter.classEnter (Enter.java:410) at com.sun.tools.javac.v8.comp.Enter.main (Enter.java:540) at com.sun.tools.javac.v8.JavaCompiler.compile (JavaCompiler.java:357) at com.sun.tools.javac.v8.Main.compile (Main.java:247) at com.sun.tools.javac.Main.compile(Main.java:26) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tools.ant.taskdefs.compilers.Javac13.execute (Javac13.java:92) at org.apache.tools.ant.taskdefs.Javac.execute (Javac.java:557) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.execute (Target.java:184) at org.apache.tools.ant.Target.performTasks (Target.java:202) at org.apache.tools.ant.Project.executeTarget (Project.java:601) at org.apache.tools.ant.taskdefs.Ant.execute (Ant.java:266) at org.apache.tools.ant.Task.perform(Task.java:217) at org.apache.tools.ant.Target.execute (Target.java:184) at org.apache.tools.ant.Target.performTasks (Target.java:202) at org.apache.tools.ant.Project.executeTarget (Project.java:601) at org.apache.tools.ant.Project.executeTargets (Project.java:560) at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:277) at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java:119)
Please see FAQ, nbusers. Try JDK 1.4.1rc, might be fixed there. Or try a different ${build.compiler}, e.g. extJavac.
closed