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.
This bug was originally marked as duplicate of bug 225868, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201304172301) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b28, Java(TM) SE Runtime Environment, 1.8.0-ea-b86 OS: Windows 7 User Comments: sreimers: Scanning sources with JDK 8 b86 Stacktrace: java.lang.NoSuchMethodError: jdk.nashorn.internal.codegen.Compiler.compiler(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/codegen/Compiler; at org.netbeans.modules.javascript2.editor.parser.JsParser.parseSource(JsParser.java:94) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:149) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:129) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseSource(SanitizingParser.java:117) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parse(SanitizingParser.java:79) at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
Created attachment 133622 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200091
Created attachment 133661 [details] stacktrace NoSuchMethodError when opening new project
This issue is quite annoying when working with JDK8
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200091
Created attachment 134260 [details] stacktrace started IDE on JDK8
Created attachment 134290 [details] stacktrace .
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200091
*** Bug 228570 has been marked as a duplicate of this bug. ***
Created attachment 134390 [details] stacktrace Restart after plugin installation
Created attachment 134391 [details] stacktrace Restarted the IDE
Created attachment 134399 [details] stacktrace Opened a Maven project
Created attachment 134543 [details] stacktrace Opening a file in the editor
Created attachment 134568 [details] stacktrace why is nashorn needed for anagram game?
> why is nashorn needed for anagram game? I don't see any comment saying it's needed - is anyone claiming it is needed?
just a comment for exception report - the exception occured when the only thing I have done was to open the anagram game in J2SE distro of NB That's why it seemed curious to see javascript there...
My, this one is annoying!
Fixed in web-main 66e408e0daec. Marian, should this be fixed for 7.3.1? Not sure as this happens with JDK8 only.
(In reply to comment #19) > Marian, should this be fixed for 7.3.1? Not sure as this happens with JDK8 > only. Sure, proceed with integration into release73 please.
Patch looks safe.
Please verify.
Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/66e408e0daec User: Petr Hejl <phejl@netbeans.org> Log: #228798 - NoSuchMethodError: jdk.nashorn.internal.codegen.Compiler.compiler(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/codegen/Compiler;
I started IDE on JDK8, created several projects (Java, PHP, HTML), opened old projects, restarted IDE and no problem => verified in trunk Product Version: NetBeans IDE Dev (Build 201305212300) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b82 System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in release73 7991f076043d.
w00t!
Integrated into 'releases', will be available in build *201305222200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/7991f076043d User: Petr Hejl <phejl@netbeans.org> Log: #228798 - NoSuchMethodError: jdk.nashorn.internal.codegen.Compiler.compiler(Ljdk/nashorn/internal/runtime/Source;Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/codegen/Compiler;
verified Product Version: NetBeans IDE 7.3.1 (Build 201305272201) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b82 System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)
*** Bug 229891 has been marked as a duplicate of this bug. ***