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 200906211401) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.0, x86 User Comments: tacomait: Trying to correct a java module. After inserted a line, with error, a message advising theat a java.lang.etc appears. And I MUST send this report if I want continue to work. Stacktrace: java.lang.NullPointerException at com.sun.source.util.TreePath.<init>(TreePath.java:89) at org.netbeans.modules.javahints.MakeStatic$1.scan(MakeStatic.java:104) at org.netbeans.modules.javahints.MakeStatic$1.scan(MakeStatic.java:101) at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:80) at com.sun.source.util.TreeScanner.visitIf(TreeScanner.java:234) at com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1126)
Created attachment 83898 [details] stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149655
This issue already has 8 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149655
I had an private final inner named class using methods of the surrounding class that i redesigned to a private static named inner class. The instant that change (introducing the static keyword to that classdefinition) was realized the exception occured. Upon completion of the redesign of this inner class the exception ceased to pop up.
Experimental hints signed by Honza.
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149655
This issue already has 12 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149655
*** This bug has been marked as a duplicate of bug 163433 ***