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 - StackOverflowError at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared
Summary: StackOverflowError at java.util.concurrent.locks.ReentrantReadWriteLock$Sync....
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 11:11 UTC by mgukov
Modified: 2017-10-02 11:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225201


Attachments
stacktrace (129.82 KB, text/plain)
2017-10-02 11:12 UTC, mgukov
Details

Note You need to log in before you can comment on or make changes to this bug.
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