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 145425 - NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setStrictMode(Z)V
Summary: NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setStrictMode(Z)V
Status: CLOSED DUPLICATE of bug 145231
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-28 13:58 UTC by Marian Mirilovic
Modified: 2009-12-03 03:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 91368


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-08-28 13:58:09 UTC
37 duplicates ... all reported against OpenJDK, so probably JDK specific ...

Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: OpenJDK 64-Bit Server VM, 1.6.0_0-b11, OpenJDK  Runtime Environment, 1.6.0_0-b11
OS: Linux, 2.6.24-19-generic, amd64
User comments: This happens each time I open a new php file from a project 
STACKTRACE: (first 10 lines)
java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setStrictMode(Z)V
        at org.netbeans.modules.javascript.editing.JsParser.createParser(JsParser.java:829)
        at org.netbeans.modules.javascript.editing.JsParser.parseBuffer(JsParser.java:741)
        at org.netbeans.modules.javascript.editing.JsParser.parseFiles(JsParser.java:133)
        at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:974)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1352)
        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)
Comment 1 Petr Blaha 2008-08-28 14:02:07 UTC
Upgrade to P2 due the number of duplicates and openJDK is default jdk on Ubuntu.
Comment 2 Torbjorn Norbye 2008-08-28 15:46:17 UTC
Does anyone know how to reproduce this? I don't have OpenJDK - but I believe I fixed this a couple of days ago
(changeset 3c3456dd9436). It would be great if somebody who can reproduce this with for example 6.5 beta, can verify
that it works well in the daily builds.
Comment 3 Petr Blaha 2008-08-28 15:48:51 UTC
I added reporter to bug CC. vernons, can you please verify the bug in the latest NB 6.5 builds? Thanks.
Comment 4 Torbjorn Norbye 2008-08-29 02:00:01 UTC
Duplicate of issue 145231 - which was confirmed fixed.

*** This issue has been marked as a duplicate of 145231 ***
Comment 5 Marian Mirilovic 2009-12-03 03:25:07 UTC
v/c