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 222036

Summary: StackOverflowError at java.lang.String.startsWith
Product: db Reporter: Tomas Danek <musilt2>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195052
Attachments: stacktrace
message log files

Description Tomas Danek 2012-11-13 12:12:14 UTC
Build: NetBeans IDE Dev (Build 201211130001)
VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Windows XP

User Comments:
musilt2: Adding connection under DB node.




Stacktrace: 
java.lang.IllegalStateException: Cannot initialize 0th child of node org.netbeans.modules.db.explorer.node.ConnectionNode@180db6a[Name=jdbc:oracle:thin:@rechtacek-db.cz.oracle.com:1521:XE [hr on HR], displayName=jdbc:oracle:thin:@rechtacek-db.cz.oracle.com:1521:XE [hr on HR]]; it already belongs to node org.netbeans.modules.db.explorer.node.CatalogNode@bec2[Name=Default, displayName=Default] (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 Tomas Danek 2012-11-13 12:12:16 UTC
Created attachment 127708 [details]
stacktrace
Comment 2 Tomas Danek 2012-11-13 12:17:45 UTC
Created attachment 127710 [details]
message log files

attaching all messages log files (incl. rotated)
Comment 3 Tomas Danek 2012-11-13 12:26:36 UTC
100% reproducible on my box;

- create connection using Oracle thin to rechtacek-db machine
- invoke popup on created node -> stack overflow
Comment 4 Jaroslav Havlin 2012-11-13 12:33:03 UTC

*** This bug has been marked as a duplicate of bug 221817 ***