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 146416, 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 20130117-dd3f9558c33d) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21 OS: SunOS Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.getMethodEnv(MemberEnter.java:896) at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:311) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:217) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:84) at org.netbeans.api.java.source.TreeUtilities.scopeFor(TreeUtilities.java:501) at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl$ParseExpressionTask.run(EditorContextImpl.java:2154)
Created attachment 130330 [details] stacktrace
Created attachment 130331 [details] stacktrace
P2 because original bug was P2 (and was not fixed)
Created attachment 130994 [details] stacktrace
Created attachment 130995 [details] stacktrace
Created attachment 130996 [details] stacktrace
Created attachment 131001 [details] stacktrace
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.