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 218134 - StackOverflowError at java.security.AccessController.doPrivileged
Summary: StackOverflowError at java.security.AccessController.doPrivileged
Status: RESOLVED DUPLICATE of bug 229764
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-11 12:41 UTC by jmichelberger
Modified: 2014-01-09 14:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192310


Attachments
stacktrace (11.00 KB, text/plain)
2012-09-11 12:41 UTC, jmichelberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmichelberger 2012-09-11 12:41:48 UTC
This bug was originally marked as duplicate of bug 213372, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06
OS: Windows 7

Stacktrace: 
java.lang.IllegalStateException: Cannot initialize 0th child of node org.netbeans.modules.apisupport.project.ui.SuiteLogicalView$SuiteRootNode[name=][Name=OperationServer, displayName=OperationServer]; it already belongs to node org.netbeans.modules.apisupport.project.ui.SuiteLogicalView$SuiteRootNode[name=][Name=OperationServer, displayName=OperationServer] (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:205)
   at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:88)
   at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:123)
   at org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:165)
   at org.openide.nodes.Children.getNodes(Children.java:469)
Comment 1 jmichelberger 2012-09-11 12:41:51 UTC
Created attachment 124163 [details]
stacktrace
Comment 2 Milos Kleint 2012-11-12 13:38:45 UTC
I canot find and trace of stackoverflow, all the logfiles have is some possible problem with nodes in 
org.netbeans.modules.apisupport.project.ui.SuiteLogicalView$SuiteRootNode

reassigning to apisupport/project
Comment 3 Jaroslav Havlin 2012-11-21 09:47:37 UTC
It seems quite similar to bug 221817, but there are only 4 duplicates, and I'm not able to reproduce it.

Cloning nodes in org.netbeans.spi.project.ui.support.NodeFactorySupport, method createNodes(NodeListKeyWrapper) should prevent this kind of bug. But if it was really needed, there would probably be much more duplicates.
So, modifying NodeFactorySupport is too risky (at lease for 7.3).

Please, can you provide more information, preferably exact steps to reproduce?
Comment 4 Martin Kozeny 2014-01-09 14:30:34 UTC

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