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 262934

Summary: StackOverflowError at org.netbeans.modules.javascript2.editor.index.JsIndex.getCachedValue
Product: javascript Reporter: Andrey1990
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221308
Attachments: stacktrace

Description Andrey1990 2016-07-19 07:25:17 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
GUEST: hangs

GUEST: unknown error

GUEST: nebeans was suddenly frozen while formating the code

Andrey1990: I don't know, only js file editiing.

GUEST: in browsing

GUEST: in debugging

GUEST: javascript

GUEST: in debugging

GUEST: xdebug

GUEST: ?




Stacktrace: 
java.lang.StackOverflowError
   at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:483)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1282)
   at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:727)
   at org.netbeans.modules.javascript2.editor.index.JsIndex.getCachedValue(JsIndex.java:254)
   at org.netbeans.modules.javascript2.editor.index.JsIndex.query(JsIndex.java:195)
   at org.netbeans.modules.javascript2.editor.index.JsIndex.findByFqn(JsIndex.java:425)
Comment 1 Andrey1990 2016-07-19 07:25:19 UTC
Created attachment 160439 [details]
stacktrace
Comment 2 Petr Pisl 2016-08-05 09:29:20 UTC
Fixed in dev-build.