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 221839

Summary: StackOverflowError at org.openide.nodes.FilterNode.isDefault
Product: db Reporter: Jiri Skrivanek <jskrivanek>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 194832
Attachments: stacktrace

Description Jiri Skrivanek 2012-11-09 15:20:17 UTC
Build: NetBeans IDE Dev (Build 201211090001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b11
OS: Windows 7

User Comments:
jskrivanek: My steps:
- create web project with GlassFish server
- open new file wizard
- choose "Web Services|RESTful Web Services from Database" and click Next
- select jdbc/sample data source




Stacktrace: 
java.lang.IllegalStateException: Cannot initialize 0th child of node org.netbeans.modules.db.explorer.node.CatalogNode[name=Default][Name=Default, displayName=Default]; it already belongs to node org.netbeans.modules.db.explorer.node.ConnectionNode[name=][Name=jdbc:derby://localhost:1527/sample [app on APP], displayName=jdbc:derby://localhost:1527/sample [app on APP]] (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 Jiri Skrivanek 2012-11-09 15:20:20 UTC
Created attachment 127485 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-11-09 17:42:20 UTC
Duplicate of bug 221817, I guess.
Comment 3 Jaroslav Havlin 2012-11-09 17:55:44 UTC
(In reply to comment #2)
> Duplicate of bug 221817, I guess.
The two bugs seem to be the same, or at least closely related.

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