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 58757

Summary: 'Find Usages' throws Exception jdk1.5
Product: editor Reporter: rbuss <rbuss>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: jiriprox, mkubec
Priority: P2 Keywords: RANDOM
Version: 4.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description rbuss 2005-05-11 07:59:56 UTC
On my Windows XP- installation using netbeans 4.1rc2 with jdk1.5.0_01 as
netbeans_jdkhome the function 'Find Usages' has no results and throws
an exception.
Using jdk 1.4.2 in netbeans_jdk_home the error does not occur.

Because I do not see how to attach an error- message in 'Enter issue', I pasted
it into the description

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at
org.netbeans.modules.refactoring.plugins.WhereUsedQueryPlugin.convertResource(WhereUsedQueryPlugin.java:184)
	at
org.netbeans.modules.refactoring.plugins.WhereUsedQueryPlugin.prepare(WhereUsedQueryPlugin.java:82)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:270)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:136)
	at
org.netbeans.modules.refactoring.spi.ui.ParametersPanel$Prepare.run(ParametersPanel.java:658)
	at org.openide.util.Task.run(Task.java:189)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
Comment 1 Jan Becicka 2005-05-24 11:22:42 UTC
Milane, Jiri, can you reproduce it? I've never seen it.
Comment 2 Tomas Hurka 2005-06-10 15:50:51 UTC
Please provide detailed steps how to reproduce it. 
Comment 3 Milan Kubec 2005-07-18 16:10:59 UTC
I've never seen this exception when doing Find Usages on JDK 1.5.0. Closing as
WORKSFORME. rbuss, if you are still able to reproduce, please provide
step-by-step description of how to reproduce.