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 - [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=]
Summary: [41cat] java.lang.IllegalStateException: Cannot initialize 0th child of node ...
Status: RESOLVED DUPLICATE of bug 56958
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 03:54 UTC by johnzoet
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (164.56 KB, text/plain)
2005-03-25 03:59 UTC, johnzoet
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***