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 200809051401) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.getMethodEnv(MemberEnter.java:783) at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:272) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:192) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:84) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.getEnvImpl(JavaCompletionProvider.java:4237) at org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.getCompletionEnvironment(JavaCompletionProvider.java:4193)
Created attachment 69230 [details] stacktrace
Is the issue reproducible? Could you eventually attach the source on which the issue was thrown? Thanks.
Never happend again and the source file has *considerably* changed since. Maybe I was getting low on memory (on my system the IDE eats up to max_mem - 10% in a few hours and remains there). Sorry but I can't help.
Build: NetBeans IDE Dev (Build 200910160201) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, i386 User Comments: While trying to remove breakpoint form editor Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.MemberEnter.getMethodEnv(MemberEnter.java:796) at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:272) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:192) at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:84) at org.netbeans.api.java.source.TreeUtilities.scopeFor(TreeUtilities.java:456) at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl$12.run(EditorContextImpl.java:1853)
Created attachment 89626 [details] stacktrace
This issue already has 54 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=293
Created attachment 94132 [details] stacktrace code completion
Created attachment 95784 [details] stacktrace
Created attachment 101150 [details] stacktrace Making small edits to DefaultReplaceTokenProvider.java.
*** Bug 179951 has been marked as a duplicate of this bug. ***
113 reports so far - at least P2 Also wanted to say that it was probably somehow eliminated, because last report came a year ago - so worksforme ?