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 271202 - StackOverflowError at org.netbeans.modules.javascript2.model.JsObjectImpl.getFullyQualifiedName
Summary: StackOverflowError at org.netbeans.modules.javascript2.model.JsObjectImpl.get...
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: Dev
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-30 14:44 UTC by porcelsl
Modified: 2018-04-24 20:53 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228007


Attachments
stacktrace (95.05 KB, text/plain)
2017-07-30 14:44 UTC, porcelsl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description porcelsl 2017-07-30 14:44:09 UTC
Build: NetBeans IDE Dev (Build 201707280001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03
OS: Windows 10

User Comments:
GUEST: Getting this message when I select Source | Format

GUEST: ?

porcelsl: do not know

GUEST: nothing just opened the available plugins, but in background it's still scanning projects ;)

porcelsl: stop bugging me i dont know what the problem is LOL

GUEST: fffff




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.javascript2.model.JsObjectImpl.getFullyQualifiedName(JsObjectImpl.java:358)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:201)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:212)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject(ModelUtils.java:190)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:549)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
Comment 1 porcelsl 2017-07-30 14:44:11 UTC
Created attachment 164862 [details]
stacktrace
Comment 2 CyRaid 2017-11-02 11:30:58 UTC
Getting this A LOT today. Working with an Ionic 2 Angular app, it takes forever scanning, then it uses a LOT of Hard disk activity (because it's recursively calling the same method).
Comment 3 CyRaid 2017-11-04 10:27:53 UTC
Upon further inspection? (so far) .. I found out this only happens with the TypeScript plugin..
Comment 4 CyRaid 2017-11-06 12:41:46 UTC
Upon even *more* investigation, it happens whenever I open a project that has a large amount of javascript files in the "Sources" folder (like in my case a node_modules with a lot of dependencies).

A work around would be to go to Options -> Miscellaneous -> Files and add "node_modules" to the "Files Ignored by the IDE" pattern.