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 154608 - IllegalStateException: The data object MultiFileObject@edd36cc[Templates/Project/Samples/Web/jstl.zip] is invalid; you may not call getNodeDelegate on it any more; see #17020 and please fix your code
Summary: IllegalStateException: The data object MultiFileObject@edd36cc[Templates/Proj...
Status: CLOSED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Matthew Bohm
URL: http://statistics.netbeans.org/except...
Keywords:
: 154607 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-04 14:16 UTC by Marian Mirilovic
Modified: 2009-12-03 03:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 143912


Attachments
stacktrace (3.52 KB, text/plain)
2008-12-04 14:17 UTC, Marian Mirilovic
Details
stacktrace (3.51 KB, text/plain)
2008-12-05 13:52 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-12-04 14:17:01 UTC
Build: NetBeans IDE Dev (Build 081203)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-9-generic, amd64

Stacktrace: 
java.lang.IllegalStateException: The data object MultiFileObject@edd36cc[Templates/Project/Samples/Web/jstl.zip] 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:270)
        at org.netbeans.modules.web.examples.WebSampleProjectIterator.initialize(WebSampleProjectIterator.java:59)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$5.initialize(DescriptionStep.java:341)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:319)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$400(DescriptionStep.java:83)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$3$1.call(DescriptionStep.java:233)
Comment 1 Marian Mirilovic 2008-12-04 14:17:27 UTC
Created attachment 74538 [details]
stacktrace
Comment 2 Filip Zamboj 2008-12-05 13:52:45 UTC
Build: NetBeans IDE Dev (Build 081204)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-9-generic, i386

User Comments: 
ergonomic IDE
NPE when activationg Java EE 

Stacktrace: 
java.lang.IllegalStateException: The data object MultiFileObject@2ccf18[Templates/Project/Samples/Web/jsp.zip] 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:270)
        at org.netbeans.modules.web.examples.WebSampleProjectIterator.initialize(WebSampleProjectIterator.java:59)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$5.initialize(DescriptionStep.java:344)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:322)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$300(DescriptionStep.java:83)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$3$1.call(DescriptionStep.java:236)
Comment 3 Filip Zamboj 2008-12-05 13:52:49 UTC
Created attachment 74599 [details]
stacktrace
Comment 4 Jayashri Visvanathan 2008-12-08 20:58:14 UTC
*** Issue 154607 has been marked as a duplicate of this issue. ***
Comment 5 Matthew Bohm 2008-12-10 01:42:57 UTC
Please clarify how to reproduce the issue. Do you mean the exception occurs when the user selects File > New Project >
Samples > Java EE ?

Also, is the ergonomic functionality in the trunk yet? If not, will it be available in the trunk around Dec. 18? (I
believe this is what one of the wikis indicates.) Will the user explicitly have to "turn on" the ergonomic
functionality, or will it be on by default?
Comment 6 Filip Zamboj 2008-12-16 14:11:47 UTC
Yeah, exactly like that ... BUT I tested in new 200812150750 build and works correctly! I guess you can close this for now.

Thanks.  
Comment 7 Matthew Bohm 2008-12-16 21:09:34 UTC
Closing as instructed.
Comment 8 Marian Mirilovic 2009-12-03 03:25:34 UTC
v/c