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 090422) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: misterm: Just typing in a class file with a private static abstract class 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.visitNewClass(TreeScanner.java:272) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1366) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)
Created attachment 80726 [details] stacktrace
Build: NetBeans IDE Dev (Build 090422) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: 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.visitNewClass(TreeScanner.java:272) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1366) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)
Created attachment 80727 [details] stacktrace
Created attachment 80728 [details] stacktrace
You have to actually assign to someone; there is no default owner for contrib.
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149656
Build: NetBeans IDE Dev (Build 090716) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.28-13-generic, i386 User Comments: Editing Java code. Stacktrace: java.lang.NullPointerException<br/> at com.sun.source.util.TreePath.<init>(TreePath.java:89)<br/> at org.netbeans.modules.javahints.MakeStatic$1.scan(MakeStatic.java:104)<br/> at org.netbeans.modules.javahints.MakeStatic$1.scan(MakeStatic.java:101)<br/> at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:272)<br/> at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1366)<br/> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:49)<br/>
Created attachment 84868 [details] stacktrace
This issue already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149656
When thrown, it is thrown repeatedly.
This issue already has 21 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149656
This issue already has 22 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=149656
my hint: occured when non static member referenced from static context.
my two cents: i had a static method in which a non-static field was accessed. as soon as the non-static field was made static it exceptions ceased to be raised.
Build: NetBeans IDE Dev (Build 090923) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Linux, 2.6.28-15-generic, i386 User Comments: Changing a static method to a nonstatic call across modules. 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.visitNewClass(TreeScanner.java:272) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1366) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Created attachment 88301 [details] stacktrace
*** Bug 167494 has been marked as a duplicate of this bug. ***
Should be fixed: http://hg.netbeans.org/main/contrib/rev/8b47536de619
Product Version: NetBeans IDE 6.8 RC1 (Build 200911252200) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Should be verified :)
*** Bug 163263 has been marked as a duplicate of this bug. ***