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 209785 - [72cat] StackOverflowError at ProjectsRootNode$BadgingNode.stateChanged
Summary: [72cat] StackOverflowError at ProjectsRootNode$BadgingNode.stateChanged
Status: RESOLVED DUPLICATE of bug 210481
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 209841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-20 11:49 UTC by Vojtech Sigler
Modified: 2012-04-25 15:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186049


Attachments
stacktrace (90.57 KB, text/plain)
2012-03-20 11:49 UTC, Vojtech Sigler
Details
stacktrace (90.57 KB, text/plain)
2012-03-23 11:04 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtech Sigler 2012-03-20 11:49:52 UTC
This bug was originally marked as duplicate of bug 190474, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201203190400)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista

User Comments:
vsigler: Netbeans was downloading and processing Maven repository indexes while also importing some plugins from 7.1.1. I had about 10 maven projects open and one file open in editor.




Stacktrace: 
java.lang.StackOverflowError
   at org.openide.filesystems.FileObject.constructName(FileObject.java:293)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:294)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:294)
   at org.openide.filesystems.FileObject.constructName(FileObject.java:294)
   at org.openide.filesystems.FileObject.getPath(FileObject.java:213)
   at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:833)
Comment 1 Vojtech Sigler 2012-03-20 11:49:59 UTC
Created attachment 116914 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-03-22 14:44:07 UTC
This is a result of my fix for bug 209322 - 
the result is not computed lazily and this may lead to infinite computation in case somebody relied on side affect of call to allItems/allInstances. The problem is either in
ProjectsRootNode$BadgingNode.stateChanged
or in 
LookupProviderSupport$SourcesImpl.resultChanged
Comment 3 aldobrucale 2012-03-23 11:04:16 UTC
Created attachment 117150 [details]
stacktrace

Opening a maven project
Comment 4 Jesse Glick 2012-03-23 16:22:57 UTC
*** Bug 209841 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2012-04-25 15:52:06 UTC

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