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 128018 - ISE - do not call getNodeDelegate() on an invalid DataObject
Summary: ISE - do not call getNodeDelegate() on an invalid DataObject
Status: VERIFIED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 14:22 UTC by Tim Lebedkov
Modified: 2009-04-18 19:39 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 Tim Lebedkov 2008-02-21 14:22:44 UTC
during a commit:

java.lang.IllegalStateException: The data object
MasterFileObject@161566c[C:/docs/Projekte/PlugAndFindWeb/TrunkWeb/src/java/de/upk/csearchweb/indexsettings/Bundle.properties]
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:267)
	at org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.htmlDisplayName(PropertiesOpen.java:831)
	at
org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.updateDisplayName(PropertiesOpen.java:791)
	at org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent.access$600(PropertiesOpen.java:584)
[catch] at
org.netbeans.modules.properties.PropertiesOpen$PropertiesCloneableTopComponent$NameUpdater.run(PropertiesOpen.java:746)
	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 Maros Sandor 2008-02-21 14:48:20 UTC
Its coming from properties code.
Comment 2 Marian Petras 2008-03-31 14:39:51 UTC
I reproduced it in today's build (080331):

1) Open some .properties file (action Edit).
2) Open the Options dialogue, and:
     2a) Select category Miscellaneous
     2b) Select tab Versioning
     2c) In the list of versioning systems on the left, select "CVS"
     2d) Click on the Add Variable... button
     2e) Select item "{status} - CVS status of the file (Modified, New, etc...)" and then press the OK button.
     2f) Confirm the change by pressing the OK button.
Comment 3 Alexey Butenko 2008-12-03 08:32:56 UTC
DataObject functionality will be changed
Comment 4 Alexey Butenko 2009-02-02 13:49:16 UTC
not reproducible any more. Probably related to 48263
Comment 5 Tim Lebedkov 2009-04-18 19:39:53 UTC
ok