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 267800

Summary: NullPointerException at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$1.run
Product: java Reporter: rudyment <rudyment>
Component: RefactoringAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225996
Attachments: stacktrace

Description rudyment 2016-08-31 09:48:50 UTC
This bug was originally marked as duplicate of bug 258227, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

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

User Comments:
rudyment: I have opened the org.junit.rules.TestName class source code and asked for usages of this class int the org.junit.rules package.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$1.run(JavaWhereUsedQueryPlugin.java:176)
   at org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$1.run(JavaWhereUsedQueryPlugin.java:158)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
Comment 1 rudyment 2016-08-31 09:48:52 UTC
Created attachment 161841 [details]
stacktrace