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 19000 - You may not call getNodeDelegate on Invalid DO.
Summary: You may not call getNodeDelegate on Invalid DO.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-03 11:00 UTC by Jan Zajicek
Modified: 2003-07-01 10:01 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 Jan Zajicek 2002-01-03 11:00:21 UTC
Details in the following exception:

*********** Exception occurred ************

Thu Dec 27 16:02:01 IST 2001: java.lang.IllegalStateException: The data object
xacctismsdk.jarContent is invalid; you may not call getNodeDelegate on it any
more; see #17020 and please fix your code
java.lang.IllegalStateException: The data object xacctismsdk.jarContent is
invalid; you may not call getNodeDelegate on it any more; see #17020 and please
fix your code
[catch] at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:239)
	at
org.netbeans.modules.jarpackager.JarDataObject.safeGetNodeDelegate(JarDataObject.java:400)
	at org.netbeans.modules.jarpackager.JarDataObject.checkIcon(JarDataObject.java:153)
	at org.netbeans.modules.jarpackager.JarDataObject.allValid(JarDataObject.java:381)
	at
org.netbeans.modules.jarpackager.JarDataObject$JarNode.getIcon(JarDataObject.java:631)
	at org.openide.nodes.FilterNode.getIcon(FilterNode.java:362)
	at org.openide.loaders.DataShadow$ShadowNode.getIcon(DataShadow.java:705)
	at org.openide.nodes.FilterNode.getIcon(FilterNode.java:362)
	at org.openide.explorer.view.NodeRenderer$Tree.update(NodeRenderer.java:278)
	at org.openide.explorer.view.VisualizerNode.run(VisualizerNode.java:327)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Milos Kleint 2002-03-28 08:52:45 UTC
Any steps to reproduce?
Comment 2 Jan Zajicek 2002-03-28 09:20:01 UTC
I haven't seen this recently. Just add check if the DO is valid before
getNodeDelegate.
Comment 3 Milos Kleint 2002-03-28 15:26:35 UTC
fixed in main trunk.
Comment 4 David Kaspar 2002-04-02 16:33:33 UTC
Verified
Comment 5 Martin Entlicher 2002-04-18 11:31:25 UTC
Merged into orion_fcs branch.
Comment 6 Quality Engineering 2003-07-01 10:00:39 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-07-01 10:01:49 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.