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.
Reported on behalf of Marek.Fukala@netbeans.com: During execution of Marek's automated compiler test, the Internal compiler sometimes throws NullPointerException and fails to compile a source. The stacktrace is: java.lang.NullPointerException at org.netbeans.lib.javac.v8.comp.Enter._case(Enter.java:495) at org.netbeans.lib.javac.v8.tree.Tree$ClassDef.visit(Tree.java:389) at org.netbeans.lib.javac.v8.comp.Enter.classEnter(Enter.java:451) at org.netbeans.lib.javac.v8.comp.Enter.classEnter(Enter.java:465) at org.netbeans.lib.javac.v8.comp.Enter._case(Enter.java:479) at org.netbeans.lib.javac.v8.tree.Tree$TopLevel.visit(Tree.java:326) at org.netbeans.lib.javac.v8.comp.Enter.classEnter(Enter.java:451) at org.netbeans.lib.javac.v8.comp.Enter.classEnter(Enter.java:465) at org.netbeans.lib.javac.v8.comp.Enter.main(Enter.java:635) at org.netbeans.modules.java.gj.V8Engine.compile(V8Engine.java:351) at org.netbeans.modules.java.gj.JavaCompilerGroup.start(JavaCompilerGroup.java:111) at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread$GroupCompiler.run(CompilationEngineImpl.java:255)
There was a race condition during initialization of the Internal Compiler and the parser engine.
Resolved for 3.4.x or earlier, no new info since then -> closing.