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.
Build: NetBeans IDE Dev (Build 200807291401) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows XP, 5.1, x86 User Comments: JUnit Testing- pressed Alt-F6 after saving a file, latency was a split second. Stacktrace: java.lang.IllegalStateException: Unauthorized call to change parent: org.openide.nodes.ChildrenArray@11dac8d org.netbeans.modules.junit.output.TestMethodNodeChildren@12b8174 and should be: org.netbeans.modules.junit.output.TestMethodNodeChildren@12b8174 at org.openide.nodes.Node.reassignTo(Node.java:343) at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:106) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:159) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:209) at org.openide.nodes.Children.getNodes(Children.java:425) at org.netbeans.modules.junit.output.TestMethodNodeChildren.removeNotify(TestMethodNodeChildren.java:152)
Created attachment 66303 [details] stacktrace
This was already fixed in dd13de486aef
Reopening - reproduced in NetBeans IDE Dev (Build 200809111401)
The same code as in junit.output was in ruby.testrunner.ui. 00c57e302200
Integrated into 'main-golden', will be available in build *200811220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/00c57e302200 User: Tomas Holy <t_h@netbeans.org> Log: #142572: removeNotify() should not call getNodes()
Build: NetBeans IDE Dev (Build 20090309020354) VM: OpenJDK Client VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.IllegalStateException: Unauthorized call to change parent: org.openide.nodes.ChildrenArray@91f5a1 org.netbeans.modules.gsf.testrunner.api.RootNodeChildren@954b7b and should be: org.netbeans.modules.gsf.testrunner.api.RootNodeChildren@954b7b at org.openide.nodes.Node.reassignTo(Node.java:346) at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:106) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:173) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:219) at org.openide.nodes.Children.getNodes(Children.java:440) at org.netbeans.modules.gsf.testrunner.api.RootNodeChildren.removeNotify(RootNodeChildren.java:240)
Created attachment 77893 [details] stacktrace