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 56967

Summary: [41cat] java.lang.IllegalStateException: Cannot initialize 0th child of node org.openide.nodes.AbstractNode@953808[Name=, displayName=]; it already belongs to node org.openide.nodes.AbstractNode@9bb60[Name=, displayName=]
Product: java Reporter: johnzoet <johnzoet>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: Other   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

Description johnzoet 2005-03-25 03:54:40 UTC
[ JDK VERSION : 1.5.0_02 ]

NB20050321 
Maybe this is the similar to bug 
http://www.netbeans.org/issues/show_bug.cgi?id=56958 
 
I change line to: 
=> 
	private JComboBox categoryIDField = new 
BaseComboBox() { 
	 
	}; 
=> 
Next I try to Fix Import. 
This exception is thrown. 
I have to restart the IDE.
Comment 1 johnzoet 2005-03-25 03:56:59 UTC
Correction: this Exception is thrown on "Override Methods", not on Fix Import. 
 
Comment 2 johnzoet 2005-03-25 03:59:11 UTC
Created attachment 21124 [details]
messages.log
Comment 3 Miloslav Metelka 2005-03-25 13:17:39 UTC
Not sure whether throwing of the invalid object exception from the code with the
following stacktrace

org.netbeans.modules.java.tools.JMIInheritanceSupport.isImplemented(JMIInheritanceSupport.java:438)
org.netbeans.modules.java.tools.JMIInheritanceSupport.getAllMethods(JMIInheritanceSupport.java:152)
org.netbeans.modules.java.tools.OverridePanel2.computeMethods(OverridePanel2.java:270)
org.netbeans.modules.java.tools.OverridePanel2.access$800(OverridePanel2.java:56)

which obviously deals with nodes does not break the node handling somehow.
Reassigning to java for evaluation.
Comment 4 Martin Matula 2005-03-30 12:56:58 UTC
Dan, please look at it.
Comment 5 Daniel Prusa 2005-04-01 08:58:50 UTC
This issue really seems to be related to issue 56958 that has been already fixed.

*** This issue has been marked as a duplicate of 56958 ***