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 73209 - NPE when viewing JDK Class
Summary: NPE when viewing JDK Class
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: metrics (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 15:05 UTC by _ alexlamsl
Modified: 2009-12-21 07:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ alexlamsl 2006-03-03 15:05:14 UTC
NetBeans 6.0 dev 200603011900, Mustang build 70

Steps to reproduce:
1) Menu "Navigate" --> "Go to Class"
2) Type "String", select "java.lang.String", click "Open"
3) NPE is thrown...

java.lang.NullPointerException
	at org.netbeans.modules.metrics.ClassFinder.getCompiledClasses
(ClassFinder.java:39)
	at org.netbeans.modules.metrics.MetricsFilterFactory.createClassNode
(MetricsFilterFactory.java:67)
	at org.netbeans.modules.java.ui.nodes.ExFilterFactory.createClassNode
(ExFilterFactory.java:70)
	at 
org.netbeans.modules.java.ui.nodes.BridgeElement2Source.createClassNode
(BridgeElement2Source.java:56)
	at 
org.netbeans.modules.java.ui.nodes.FilterSourceNodeFactory.createClassNode
(FilterSourceNodeFactory.java:45)
	at 
org.netbeans.modules.refactoring.ui.RefactoringFilterFactory.createClassNode
(RefactoringFilterFactory.java:50)
	at 
org.netbeans.modules.java.ui.nodes.BridgeSource2Element.createClassNode
(BridgeSource2Element.java:56)
	at 
org.netbeans.modules.java.ui.nodes.BridgeElement2Source.createClassNode
(BridgeElement2Source.java:56)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.createNode
(JavaEditor.java:1314)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$900
(JavaEditor.java:1210)
	at org.netbeans.modules.java.JavaEditor$12.run(JavaEditor.java:1262)
	at org.openide.util.Mutex.readAccess(Mutex.java:215)
	at org.netbeans.modules.java.JavaEditor$11.run(JavaEditor.java:1260)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:514)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:947)
Comment 1 Quality Engineering 2009-12-21 07:48:30 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team