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

Summary: 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
Product: javaee Reporter: Marian Mirilovic <mmirilovic>
Component: Web ProjectAssignee: Matthew Bohm <mbohm>
Status: CLOSED WORKSFORME    
Severity: blocker CC: fzamboj
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=143912
Issue Type: DEFECT Exception Reporter: 143912
Attachments: stacktrace
stacktrace

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