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 142572 - [65cat] IllegalStateException: Unauthorized call to change parent: org.openide.nodes.ChildrenArray@11dac8d org.netbeans.modules.junit.output.TestMethodNodeChildren@12b8174 and should be: org.netbeans.modules
Summary: [65cat] IllegalStateException: Unauthorized call to change parent: org.openid...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 13:04 UTC by nvarun
Modified: 2009-03-31 16:41 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 85230


Attachments
stacktrace (1.09 KB, text/plain)
2008-08-01 13:04 UTC, nvarun
Details
stacktrace (1.08 KB, text/plain)
2009-03-09 07:47 UTC, _ theanuradha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nvarun 2008-08-01 13:04:26 UTC
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)
Comment 1 nvarun 2008-08-01 13:04:35 UTC
Created attachment 66303 [details]
stacktrace
Comment 2 t_h 2008-08-01 13:49:10 UTC
This was already fixed in dd13de486aef
Comment 3 aroika 2008-10-08 06:00:54 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200809111401)
Comment 4 t_h 2008-11-20 11:20:42 UTC
The same code as in junit.output was in ruby.testrunner.ui.
00c57e302200
Comment 5 Quality Engineering 2008-11-22 04:49:10 UTC
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()
Comment 6 _ theanuradha 2009-03-09 07:47:36 UTC
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)
Comment 7 _ theanuradha 2009-03-09 07:47:42 UTC
Created attachment 77893 [details]
stacktrace