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 80740 - Find usages throws NPE
Summary: Find usages throws NPE
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 81040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-20 16:49 UTC by Jiri Prox
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (2.63 KB, text/plain)
2006-07-20 16:49 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-07-20 16:49:15 UTC
NB 5.5 200607190830

NPE is thrown when finding usages.

Steps to reproduce:
1) open Image module from NB sources (with required projects)
2) find usages of org.openide.filesystem.FileObject class
->java.lang.NullPointerException
   at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.createElement(MetadataElement.java:1504)
   at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.createElement(MetadataElement.java:1369)
   at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.createChildrenList(SemiPersistentElement.java:911)
Comment 1 Jiri Prox 2006-07-20 16:49:33 UTC
Created attachment 32059 [details]
NPE
Comment 2 Jan Becicka 2006-08-07 10:18:15 UTC
*** Issue 81040 has been marked as a duplicate of this issue. ***
Comment 3 Jan Becicka 2006-08-07 10:19:30 UTC
Happens if there is a local class inside of anonymous class.
Comment 4 Jan Becicka 2006-08-08 08:20:33 UTC
Checking in MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v 
<--  MDRParser.java
new revision: 1.102; previous revision: 1.101
done
Comment 5 Jan Becicka 2006-08-11 15:08:42 UTC
Checking in MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v 
<--  MDRParser.java
new revision: 1.85.6.4.2.5; previous revision: 1.85.6.4.2.4
done
Comment 6 Jiri Prox 2006-10-27 10:39:46 UTC
verified
Comment 7 Quality Engineering 2007-09-20 11:52:18 UTC
Reorganization of java component