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 49318 - NPE from SourceChildren.setElement
Summary: NPE from SourceChildren.setElement
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-09-20 22:09 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 2004-09-20 22:09:58 UTC
040920 custom. Observed on console; not sure what
triggered it.
Comment 1 Jesse Glick 2004-09-20 22:10:47 UTC
[org.netbeans.mdr.Logger] INFORMATIONAL *********** Exception occurred
************ at 5:04 PM on Sep 20, 2004
java.lang.NullPointerException
	at
org.netbeans.modules.java.ui.nodes.elements.SourceChildren.setElement(SourceChildren.java:248)
	at
org.netbeans.modules.java.ui.nodes.elements.SourceChildren$JMIListener.change(SourceChildren.java:390)
[catch] at
org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.java:270)
	at java.lang.Thread.run(Thread.java:595)
Comment 2 Jan Pokorsky 2004-09-21 13:02:10 UTC
This should be triggered by some mdr resource that is getting
invalidated and its data object is already invalid. So did you delete
a java source file?
Comment 3 Jan Pokorsky 2004-09-21 18:13:22 UTC
fixed in

/cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/SourceChildren.java
new revision: 1.10; previous revision: 1.9