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 163263 - 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-04-21 14:51 UTC by mihai
Modified: 2010-10-18 13:35 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 149464


Attachments
stacktrace (1.18 KB, text/plain)
2009-04-21 14:51 UTC, mihai
Details
stacktrace (1.18 KB, text/plain)
2009-08-06 14:23 UTC, fvogler
Details
stacktrace (1.18 KB, text/plain)
2009-08-07 17:47 UTC, minoleg
Details
stacktrace (1.18 KB, text/plain)
2009-11-03 22:39 UTC, matthies
Details
stacktrace (1.11 KB, text/plain)
2010-01-14 11:57 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mihai 2009-04-21 14:51:17 UTC
Build: NetBeans IDE Dev (Build 200904201507)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: added abstract method getTemplateName() into non abstract class



Stacktrace: 
java.lang.NullPointerException
        at com.sun.source.util.TreePath.<init>(TreePath.java:89)
        at org.netbeans.modules.javahints.MakeStatic.run(MakeStatic.java:125)
        at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:144)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:109)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:55)
        at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:288)
Comment 1 mihai 2009-04-21 14:51:23 UTC
Created attachment 80600 [details]
stacktrace
Comment 2 Max Sauer 2009-04-22 10:00:45 UTC
Experimental hints. Please have a look Honzo.
Comment 3 Exceptions Reporter 2009-07-15 14:34:49 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149464
Comment 4 fvogler 2009-08-06 14:23:18 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3675-on-090806)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
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.run(MakeStatic.java:125)
        at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:144)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:109)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:55)
        at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:291)
Comment 5 fvogler 2009-08-06 14:23:22 UTC
Created attachment 85906 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-08-06 14:23:27 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149464
Comment 7 minoleg 2009-08-07 17:47:30 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
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.run(MakeStatic.java:125)
        at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:144)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:109)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:55)
        at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:291)
Comment 8 minoleg 2009-08-07 17:47:34 UTC
Created attachment 85980 [details]
stacktrace
Comment 9 Exceptions Reporter 2009-08-07 17:47:39 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149464
Comment 10 matthies 2009-11-03 22:39:20 UTC
Build: NetBeans IDE Dev (Build 200910261401)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
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.run(MakeStatic.java:125)
        at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:144)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:109)
        at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:55)
        at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:291)
Comment 11 matthies 2009-11-03 22:39:24 UTC
Created attachment 90471 [details]
stacktrace
Comment 12 Exceptions Reporter 2009-11-03 22:39:29 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149464
Comment 13 Jesse Glick 2010-01-14 11:57:03 UTC
Created attachment 93296 [details]
stacktrace

I had typed

  assertEquals("...", XPath.evaluate("...", data));

and the IDE marked it in red, though it should not have been an error that I know of. Pressed Alt-ENTER and IDE froze. After dialog "length operation..." showed "refreshing hints", I cancelled.
Comment 14 Exceptions Reporter 2010-01-14 11:57:17 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=149464
Comment 15 Jan Lahoda 2010-10-18 13:35:19 UTC
Already fixed as bug #163433.

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