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.

Bug 167494 - NullPointerException at com.sun.source.util.TreePath.<init>
Summary: NullPointerException at com.sun.source.util.TreePath.<init>
Status: RESOLVED DUPLICATE of bug 163433
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 22:41 UTC by tacomait
Modified: 2009-11-21 15:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149655


Attachments
stacktrace (2.15 KB, text/plain)
2009-06-22 22:41 UTC, tacomait
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tacomait 2009-06-22 22:41:34 UTC
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)
Comment 1 tacomait 2009-06-22 22:41:39 UTC
Created attachment 83898 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-06-22 22:41:43 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149655
Comment 3 Exceptions Reporter 2009-06-23 13:51:36 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149655
Comment 4 mklaehn 2009-06-23 14:06:25 UTC
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.
Comment 5 Max Sauer 2009-06-25 09:17:56 UTC
Experimental hints signed by Honza.
Comment 6 Exceptions Reporter 2009-08-13 11:02:48 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149655
Comment 7 Exceptions Reporter 2009-08-13 11:03:18 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149655
Comment 8 Exceptions Reporter 2009-08-17 10:07:27 UTC
This issue already has 12 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149655
Comment 9 Jan Lahoda 2009-11-21 15:41:18 UTC

*** This bug has been marked as a duplicate of bug 163433 ***