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 271568

Summary: StackOverflowError at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared
Product: ide Reporter: mgukov
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal CC: Alniks
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225201
Attachments: stacktrace

Description mgukov 2017-10-02 11:11:57 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b16, Java(TM) SE Runtime Environment, 1.8.0_112-b16
OS: Mac OS X

User Comments:
GUEST: Problems using react library and jsx sintaxis en netbeans ide. I try to dinf a funciton inside a component and just crashed.

GUEST: Error when finding function decloration

GUEST: Ctrl + Click.

GUEST: Clicked to jump to method declaration in Javascript file.

mgukov: Try to go to definition

GUEST: Ctrl + left mouse click on the method React.Component.setState()

GUEST: I was trying to find the function declaration inside a jsx file that contains an react compnent

Alniks: following CTRL click

GUEST: Ctrl + Click.

GUEST: Ctrl + left click.

GUEST: Ctrl + left click.




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.model.api.Index.getCachedValue(Index.java:272)
   at org.netbeans.modules.javascript2.model.api.Index.query(Index.java:214)
   at org.netbeans.modules.javascript2.model.api.Index.findByFqn(Index.java:442)
Comment 1 mgukov 2017-10-02 11:12:01 UTC
Created attachment 165224 [details]
stacktrace