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.
Build: NetBeans IDE Dev (Build 201508220002) VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Linux User Comments: vriha: debugging JS on Nashhorn Stacktrace: java.lang.NoSuchMethodException: jdk.nashorn.internal.runtime.Context.eval : (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object; at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:633) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.invokeMethod(AbstractObjectVariable.java:574) at org.netbeans.modules.debugger.jpda.js.vars.DebuggerSupport.doEvaluate(DebuggerSupport.java:284) at org.netbeans.modules.debugger.jpda.js.vars.DebuggerSupport.evaluate(DebuggerSupport.java:211) at org.netbeans.modules.debugger.jpda.js.vars.DebuggerSupport.evaluate(DebuggerSupport.java:206) at org.netbeans.modules.debugger.jpda.js.vars.tooltip.ToolTipAnnotation.evaluate(ToolTipAnnotation.java:87)
Created attachment 155546 [details] stacktrace
To reproduce: - use project http://services.netbeans.org/synergy/server/api/attachment.php?id=197 - open test1.js and add line breakpoint to line 18 - debug the project - hover over "this" on test1.js:18
Reproduced. In 1.8.0_51 it works. This is caused by some change in u60. :-(
Fixed by changeset: 291163:a770aa12e552 http://hg.netbeans.org/core-main/rev/a770aa12e552
Integrated into 'main-silver', will be available in build *201508300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a770aa12e552 User: mentlicher@netbeans.org Log: #254612: Use a different eval method when the old one is not found (since JDK 1.8.0_60).