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 222281

Summary: StackOverflowError at org.netbeans.modules.javascript2.editor.index.JsIndex.getProperties(JsIndex.java:144)
Product: javascript Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal CC: pjiricka
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195274
Attachments: stacktrace

Description Exceptions Reporter 2012-11-16 15:35:09 UTC
This bug was originally marked as duplicate of bug 159937, 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.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 8

User Comments:
GUEST: browsing files, netbeans stops




Stacktrace: 
java.lang.StackOverflowError
   at java.util.WeakHashMap.getTable(WeakHashMap.java:417)
   at java.util.WeakHashMap.get(WeakHashMap.java:464)
   at java.util.Collections$SynchronizedMap.get(Collections.java:2037)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:607)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:602)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.getExistingFor(BaseFileObj.java:1037)
Comment 1 Exceptions Reporter 2012-11-16 15:35:12 UTC
Created attachment 127945 [details]
stacktrace
Comment 2 Petr Pisl 2012-11-19 16:17:05 UTC
Fixed in web main. 
http://hg.netbeans.org/web-main/rev/2dc8eb3e8871


Should be now faster, doesn't run recursion for already resolved types and also the recursion can be maximu 15 levels deep.
Comment 3 Quality Engineering 2012-11-21 13:47:04 UTC
Integrated into 'main-golden', will be available in build *201211211016* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2dc8eb3e8871
User: Petr Pisl <ppisl@netbeans.org>
Log: #222281 - StackOverflowError at org.netbeans.modules.javascript2.editor.index.JsIndex.getProperties(JsIndex.java:144)
Comment 4 Petr Pisl 2012-11-22 09:06:32 UTC
*** Bug 222502 has been marked as a duplicate of this bug. ***
Comment 5 Petr Pisl 2012-11-22 15:29:13 UTC
*** Bug 222520 has been marked as a duplicate of this bug. ***