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 30690 - SourceChildren throws NPE
Summary: SourceChildren throws NPE
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 14:49 UTC by Jiri Rechtacek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (1.23 KB, text/plain)
2003-03-03 14:49 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2003-02-05 14:49:09 UTC
JavaNode.getChildren.getNodes(true) throws
(sometimes) NPE. I guess if the java source is not
parsed then NPE is thrown,  If I try it again
(source is parsed) then no exception is thrown.
Comment 1 Jiri Rechtacek 2003-02-05 15:03:31 UTC
FYI: java.lang.NullPointerException at
org.openide.src.nodes.SourceChildren.getNodes(SourceChildren.java:185)
Comment 2 Svata Dedic 2003-02-05 17:03:18 UTC
Seems fixed in trunk.
Comment 3 Jan Becicka 2003-02-27 12:31:45 UTC
Reporter, could you verify this bug? Thanks
Comment 4 Jiri Rechtacek 2003-03-03 14:49:55 UTC
Created attachment 9238 [details]
stack trace
Comment 5 Jiri Rechtacek 2003-03-03 14:51:27 UTC
Sorry, a exception (see attachment) was thrown in Feb28 dev build. I
have to reopen it.
Comment 6 Svata Dedic 2003-03-12 10:16:01 UTC
But a different exception than the one reported previously ;) 
Comment 7 Svata Dedic 2003-03-12 10:21:56 UTC
I think I will need more info for reproduction of the attached 
exception. So far I only found one region of code that synchronization 
w/ double check of a variable, but I don't think it is the cause. 
 
Comment 8 Jan Becicka 2004-06-23 09:06:47 UTC
This issue is no more valid in promo-D.