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 53183 - NPE from MergedClassPathImplementation.getRoots
Summary: NPE from MergedClassPathImplementation.getRoots
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
: 53214 53217 53282 53300 53325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-10 17:45 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (821 bytes, text/plain)
2005-01-10 17:45 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-01-10 17:45:22 UTC
dev 050107 custom, JDK 1.6. I think this has
MCPI.java rev. 1.18, i.e. NPE from

roots.add(obj);

Note that roots was set to a non-null value
earlier in the method, and the only place where
this field is assigned outside of a synchronized
block is in the property change listener at the
top of the class, so that may be the culprit.
Comment 1 Jesse Glick 2005-01-10 17:45:46 UTC
Created attachment 19586 [details]
Stack trace
Comment 2 Martin Matula 2005-01-13 10:43:16 UTC
*** Issue 53325 has been marked as a duplicate of this issue. ***
Comment 3 Martin Matula 2005-01-13 10:49:27 UTC
Fixed.

Checking in
src/org/netbeans/modules/javacore/classpath/MergedClassPathImplementation.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/classpath/MergedClassPathImplementation.java,v
 <--  MergedClassPathImplementation.java
new revision: 1.19; previous revision: 1.18
done
Comment 4 Martin Matula 2005-01-13 10:51:52 UTC
*** Issue 53214 has been marked as a duplicate of this issue. ***
Comment 5 Martin Matula 2005-01-13 10:53:07 UTC
*** Issue 53217 has been marked as a duplicate of this issue. ***
Comment 6 Martin Matula 2005-01-13 10:55:58 UTC
*** Issue 53282 has been marked as a duplicate of this issue. ***
Comment 7 Martin Matula 2005-01-13 12:38:47 UTC
*** Issue 53300 has been marked as a duplicate of this issue. ***
Comment 8 Martin Matula 2005-01-13 12:55:50 UTC
*** Issue 53300 has been marked as a duplicate of this issue. ***
Comment 9 Martin Matula 2005-01-13 12:56:33 UTC
*** Issue 53300 has been marked as a duplicate of this issue. ***
Comment 10 Martin Matula 2005-01-13 12:57:02 UTC
*** Issue 53300 has been marked as a duplicate of this issue. ***
Comment 11 Quality Engineering 2007-09-20 09:51:58 UTC
Reorganization of java component