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 271791

Summary: StackOverflowError at org.netbeans.modules.javascript2.model.api.ModelUtils.findJsObject
Product: ide Reporter: djot
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal CC: lolo_101, minoleg, rweaver, sbobrov85, sfatula, zmirc
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230273
Attachments: stacktrace

Description djot 2017-11-12 15:28:44 UTC
Build: NetBeans IDE Dev (Build 201711120002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 10

User Comments:
GUEST: Background scanning after startup

GUEST: Imported a project with existing sources html5/js

sfatula: Trying to update project to HEAD

GUEST: Just open IDE.

GUEST: ...

rweaver: Looking at files

djot: Not sure, netbeans was just starting up and doing "Background scanning".


Also I tried to add a new product, which all the time crashed when trying to click the "browse" button for files and folder (existing sources)

Also, I then pasted the path instead of clicking the browse button.




Stacktrace: 
java.lang.StackOverflowError
   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)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
Comment 1 djot 2017-11-12 15:28:47 UTC
Created attachment 165434 [details]
stacktrace