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 125468 - IllegalStateException: The data object /Users/jaromiruhrik/NetBeansProjects/JavaLibrary1/src/fsdfs/ffs.java is invalid; you may not call getNodeDelegate on it any more; see #17020 and please fix your
Summary: IllegalStateException: The data object /Users/jaromiruhrik/NetBeansProjects/J...
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 165026
Blocks:
  Show dependency tree
 
Reported: 2008-01-17 13:29 UTC by Jaromir Uhrik
Modified: 2011-12-02 14:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 20581


Attachments
stacktrace (4.93 KB, text/plain)
2008-01-17 13:30 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2008-01-17 13:29:51 UTC
Build: NetBeans IDE Dev (Build 200801170000)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.1, i386

User Comments: 
-Create library
-Create form frame in this lib
-delete library project
->exception dialog appears
Comment 1 Jaromir Uhrik 2008-01-17 13:30:02 UTC
Created attachment 55197 [details]
stacktrace
Comment 2 Jana Maleckova 2008-01-18 08:31:31 UTC
StackTrace:
===========
java.lang.IllegalStateException: The data object /Users/jaromiruhrik/NetBeansProjects/JavaLibrary1/src/fsdfs/ffs.java 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.form.FormEditor$6.run(FormEditor.java:707)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:180)
        at java.awt.Dialog$1.run(Dialog.java:535)
Comment 3 Jan Stola 2008-01-18 09:16:35 UTC
I was not able to reproduce this issue. It seems to be a race condition. On the other hand, the stack trace clearly 
shows what went wrong. It should be fixed by now.

Modified file:
/cvs/form/src/org/netbeans/modules/form/FormEditor.java
new revision: 1.122; previous revision: 1.121
Comment 4 Jaromir Uhrik 2008-01-23 10:49:38 UTC
Verified. I cannot reproduce it in the following build:
Product Version: NetBeans IDE Dev (Build 080122)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb)