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 270992 - NullPointerException at org.netbeans.api.java.source.ElementHandle.resolve
Summary: NullPointerException at org.netbeans.api.java.source.ElementHandle.resolve
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-28 21:01 UTC by Exceptions Reporter
Modified: 2017-12-05 16:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229167


Attachments
stacktrace (3.10 KB, text/plain)
2017-06-28 21:01 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-06-28 21:01:48 UTC
This issue was reported manually by sjnewbold.
It already has 4 duplicates 


Build: NetBeans IDE Dev (Build 201706280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 10

User Comments:
GUEST: Right clicking on a method name and selecting "Find Usages"

GUEST: Right Button click in method and select Find Usages

GUEST: Right click and "find usages"

GUEST: Clicking "find usages"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.java.source.ElementHandle.resolve(ElementHandle.java:141)
   at org.netbeans.api.java.source.TreePathHandle$ElementDelegate.resolveElement(TreePathHandle.java:738)
   at org.netbeans.api.java.source.TreePathHandle.resolveElement(TreePathHandle.java:187)
   at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin.preCheck(JavaWhereUsedQueryPlugin.java:134)
   at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin.checkParameters(JavaWhereUsedQueryPlugin.java:460)
   at org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin$WorkingTask.run(JavaRefactoringPlugin.java:421)
Comment 1 Exceptions Reporter 2017-06-28 21:01:50 UTC
Created attachment 164651 [details]
stacktrace