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 107225 - NPE on find usages
Summary: NPE on find usages
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
: 107492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-19 14:55 UTC by pzajac
Modified: 2007-06-21 12:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.58 KB, text/plain)
2007-06-19 14:56 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2007-06-19 14:55:22 UTC
070619
Steps to reproduce:
1) Create feed reader example from template
2) Try Find usages on Feedreader

java.lang.NullPointerException
	at com.sun.source.util.TreePath.<init>(TreePath.java:74)
	at com.sun.source.util.TreePath.<init>(TreePath.java:67)
	at org.netbeans.api.java.source.TreeUtilities.pathFor(TreeUtilities.java:147)
	at org.netbeans.api.java.source.TreePathHandle.resolve(TreePathHandle.java:116)
	at org.netbeans.api.java.source.TreePathHandle.resolveElement(TreePathHandle.java:138)
	at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin$1.run(AbstractRefactoringPlugin.java:147)
	at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin$1.run(AbstractRefactoringPlugin.java:188)
	at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:564)
	at org.netbeans.modules.apisupport.refactoring.AbstractRefactoringPlugin.examineLookup(AbstractRefactoringPlugin.java:190)
	at org.netbeans.modules.apisupport.refactoring.NbWhereUsedRefactoringPlugin.prepare(NbWhereUsedRefactoringPlugin.java:97)
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:327)
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:177)
	at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:708)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 pzajac 2007-06-19 14:56:58 UTC
Created attachment 43966 [details]
Exception
Comment 2 Milos Kleint 2007-06-20 13:39:57 UTC
fixed.
Comment 3 Jesse Glick 2007-06-20 18:02:44 UTC
Missing CVS commit info.
Comment 5 Milos Kleint 2007-06-21 12:55:23 UTC
*** Issue 107492 has been marked as a duplicate of this issue. ***