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.

Bug 147585 - A java.lang.NoSuchMethodError exception has occurred.
Summary: A java.lang.NoSuchMethodError exception has occurred.
Status: RESOLVED DUPLICATE of bug 145231
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 11:12 UTC by timmson
Modified: 2009-02-27 14:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description timmson 2008-09-18 11:12:19 UTC
----- 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)
Comment 1 Torbjorn Norbye 2008-09-18 15:12:36 UTC
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 ***
Comment 2 timmson 2008-09-18 21:23:01 UTC
yes, i use openjdk. Big thank for your fast reply, i will try to update my jdk and netbeans