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 267933, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.2 (Build 201609300101) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Mac OS X User Comments: GUEST: j GUEST: exception raised while trying to debug a maven project mkhramov: Debug java project GUEST: Just hovered over a variable during debugging emiddio: debugging GUEST: While debugging through Java source code Stacktrace: java.lang.NoSuchMethodException: org.netbeans.modules.debugger.jpda.EditorContextBridge$CompoundContextProvider.interpretOrCompileCode(java.lang.String, java.lang.String, int, com.sun.source.util.TreePathScanner, com.sun.source.util.TreePathScanner, java.lang.Object, boolean, java.util.function.Function, org.netbeans.spi.debugger.jpda.SourcePathProvider) at java.lang.Class.getMethod(Class.java:1786) at org.netbeans.modules.debugger.jpda.EditorContextBridge.interpretOrCompileCode(EditorContextBridge.java:159) at org.netbeans.modules.debugger.jpda.expr.TreeEvaluator.evaluate(TreeEvaluator.java:199) at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluateIn(JavaEvaluator.java:162) at org.netbeans.modules.debugger.jpda.JavaEvaluator.evaluate(JavaEvaluator.java:107) at org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression$AssociatedExpression.evaluate(EvaluatorExpression.java:90)
Created attachment 162907 [details] stacktrace
Fixed by http://hg.netbeans.org/core-main/rev/fe0dcf0e3c76 We add this into the APIs after the contract stabilizes.
Integrated into 'main-silver', will be available in build *201611170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fe0dcf0e3c76 User: mentlicher@netbeans.org Log: #268974: interpretOrCompileCode() method added into CompoundContextProvider. Old and unused parseExpression() method is removed.
Transplanted to release82: http://hg.netbeans.org/releases/rev/966464f9a7cb
I received email asking me to verify this bug fixed for the upcoming nb8.2.1 patch. I have installed jdk112, and the patch update to my nb8.2; have been debugging for a day+ now and no issues seen. No way prove issue is fixed.
Verified based on feedback from Gary Bello - one of the reporters. Thanks Gary!
It seems like this fix is still not available in the MVN repo for RELEASE82? http://bits.netbeans.org/