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 271170

Summary: StackOverflowError at org.netbeans.modules.javascript2.types.api.TypeUsage.hashCode
Product: ide Reporter: alied <alied>
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal CC: alied, athompson, inonit, legitalk, MackSix, phurtado
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229833
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description alied 2017-07-26 14:32:09 UTC
Build: NetBeans IDE Dev (Build 201707260001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.141-b15, Java(TM) SE Runtime Environment, 1.8.0_141-b15
OS: Linux

User Comments:
alied: every time I open a project




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.javascript2.types.api.TypeUsage.hashCode(TypeUsage.java:108)
   at java.util.HashMap.hash(HashMap.java:338)
   at java.util.HashMap.put(HashMap.java:611)
   at java.util.HashSet.add(HashSet.java:219)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:639)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1294)
Comment 1 alied 2017-07-26 14:32:13 UTC
Created attachment 164837 [details]
stacktrace
Comment 2 athompson 2017-08-21 20:47:04 UTC
Created attachment 164983 [details]
stacktrace

started up using java 9 (after clearing cache)
Comment 3 MackSix 2017-09-02 05:43:06 UTC
Created attachment 165077 [details]
stacktrace

Was running node.js Debugger and stepping over lines and it worked for a few lines and then this heppened.
Comment 4 athompson 2017-09-13 08:56:25 UTC
Created attachment 165124 [details]
stacktrace

started IDE
Comment 5 Exceptions Reporter 2017-09-13 08:56:30 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229833
Comment 6 alied 2017-10-05 17:14:41 UTC
Created attachment 165247 [details]
stacktrace

opening a web project
Comment 7 phurtado 2017-11-22 03:47:08 UTC
Created attachment 165480 [details]
stacktrace

I was Project Properties - framework
Comment 8 alied 2017-12-06 14:43:04 UTC
Created attachment 165540 [details]
stacktrace

same; opening a maven web project; hopefully this report will provide more data; this is one of the most annoying bugs in the dev release.
Comment 9 Exceptions Reporter 2017-12-31 16:28:18 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229833