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 257001

Summary: StackOverflowError at org.netbeans.modules.javascript2.editor.index.JsIndex.query
Product: javascript Reporter: Petr Dvorak <joshis>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: obrejla, sj-nb, yowilliam23
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219485
Attachments: stacktrace

Description Petr Dvorak 2015-12-05 18:00:02 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Mac OS X

User Comments:
joshis: Tried to format a 400 line long JS file using KB shortcut.

GUEST: Control-Clicked a js reference.

GUEST: CTRL+ click on function in other module




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.javascript2.editor.index.JsIndex.query(JsIndex.java:195)
   at org.netbeans.modules.javascript2.editor.index.JsIndex.findByFqn(JsIndex.java:425)
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findPropertyOfType(DeclarationFinderImpl.java:304)
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findPropertyOfType(DeclarationFinderImpl.java:314)
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findPropertyOfType(DeclarationFinderImpl.java:314)
   at org.netbeans.modules.javascript2.editor.navigation.DeclarationFinderImpl.findPropertyOfType(DeclarationFinderImpl.java:314)
Comment 1 Petr Dvorak 2015-12-05 18:00:05 UTC
Created attachment 157681 [details]
stacktrace
Comment 2 Petr Pisl 2015-12-28 16:27:21 UTC
*** Bug 257193 has been marked as a duplicate of this bug. ***
Comment 3 Petr Pisl 2015-12-28 16:27:56 UTC
It would be great, if someone has a reproducible case. Thanks.