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.
----- Classpath: --------------------------------------------- bootPath: ClassPath[Entry[file:/home/avkrotov/netbeans-6.5m1/gsf1/jsstubs/]] classPath: ClassPath[Entry[file:/home/avkrotov/netbeans-6.5m1/gsf1/jsstubs/]] sourcePath: ClassPath[Entry[file:/media/System/java/projects/credits/web/]] ----- Original exception --------------------------------------------- java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setStrictMode(Z)V at org.netbeans.modules.javascript.editing.JsParser.parseBuffer(JsParser.java:481) at org.netbeans.modules.javascript.editing.JsParser.parseFiles(JsParser.java:124) at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:909) at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)
I'm not sure which JDK and exact IDE version you're using, but I suspect that you're using OpenJDK, right? This looks a lot like a bug I fixed 3 weeks ago (changeset http://hg.netbeans.org/main/rev/3c3456dd9436 ) which only showed up on OpenJDK. It should be fixed now. Let me know if you can reproduce this on a recent build. *** This issue has been marked as a duplicate of 145231 ***
yes, i use openjdk. Big thank for your fast reply, i will try to update my jdk and netbeans