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 222034

Summary: StackOverflowError at org.openide.nodes.Node.toString
Product: db Reporter: Marian Mirilovic <mmirilovic>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195049
Attachments: stacktrace

Description Marian Mirilovic 2012-11-13 12:00:16 UTC
Build: NetBeans IDE Dev (Build 201211120001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b13
OS: Linux

Stacktrace: 
java.lang.IllegalStateException: Cannot initialize 0th child of node org.netbeans.modules.db.explorer.node.SchemaNode[name=junctiondb][Name=junctiondb, displayName=junctiondb]; it already belongs to node org.netbeans.modules.db.explorer.node.CatalogNode[name=junctiondb][Name=junctiondb, displayName=junctiondb] (did you forgot to use cloneNode?)
Children of new node: null
Children of old node: null
   at org.openide.nodes.Node.assignTo(Node.java:354)
   at org.openide.nodes.EntrySupportDefault.justComputeNodes(EntrySupportDefault.java:212)
   at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:88)
   at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:130)
   at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:172)
   at org.openide.nodes.Children.getNodes(Children.java:469)
Comment 1 Marian Mirilovic 2012-11-13 12:00:18 UTC
Created attachment 127705 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-11-14 07:48:15 UTC
A usual problem in database nodes. Making P2 in order to lower the income of these bugs in future release.
Comment 3 Jaroslav Havlin 2012-11-14 07:52:31 UTC

*** This bug has been marked as a duplicate of bug 221817 ***
Comment 4 Marian Mirilovic 2012-11-14 07:58:34 UTC
v/c