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 83058 - ISE on reloading JNLP module
Summary: ISE on reloading JNLP module
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 05:11 UTC by _ tboudreau
Modified: 2010-10-19 15:09 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 _ tboudreau 2006-08-20 05:11:07 UTC
I fixed a couple of bugs in the JNLP module so I could use it;  I had a JNLP
file open.  When I reloaded it in the IDE I got the following exception.

Probably the module should be fixed to close editors when it's removed, but
nonetheless, probably the editor should check that the data object is valid.

java.lang.IllegalStateException: The data object
MasterFileObject@b6481e[C:/space/colorchooser/www/demo/colorcalc.jnlp] is
invalid; you may not call getNodeDelegate on it any more; see #17020 and please
fix your code
	at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:242)
	at
org.netbeans.modules.editor.NbEditorToolBar.createActionContext(NbEditorToolBar.java:609)
	at
org.netbeans.modules.editor.NbEditorToolBar.addPresenters(NbEditorToolBar.java:529)
	at
org.netbeans.modules.editor.NbEditorToolBar.checkPresentersAdded(NbEditorToolBar.java:345)
	at org.netbeans.modules.editor.NbEditorToolBar.access$300(NbEditorToolBar.java:101)
[catch] at
org.netbeans.modules.editor.NbEditorToolBar$4$1.run(NbEditorToolBar.java:232)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Vitezslav Stejskal 2007-04-16 03:14:57 UTC
Should be easy to fix.
Comment 2 Jiri Prox 2008-04-11 00:42:25 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Quality Engineering 2009-12-21 05:27:36 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team
Comment 4 _ tboudreau 2009-12-21 14:54:31 UTC
Reverting bogus issue closure.  May already be fixed but should be verified.
Comment 5 David Strupl 2010-10-19 15:09:04 UTC
Please don't reopen unless you are willing to fix yourself. thanks.