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 271387 - StackOverflowError at java.util.HashMap.hash
Summary: StackOverflowError at java.util.HashMap.hash
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: Dev
Hardware: All All
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 14:37 UTC by athompson
Modified: 2018-04-16 19:56 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 229798


Attachments
stacktrace (94.91 KB, text/plain)
2017-08-28 14:37 UTC, athompson
Details
stacktrace (94.91 KB, text/plain)
2017-09-02 05:40 UTC, MackSix
Details
stacktrace (94.91 KB, text/plain)
2017-10-24 16:41 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2017-08-28 14:37:21 UTC
Build: NetBeans IDE Dev (Build 201708210001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Mac OS X

User Comments:
athompson: startup

GUEST: Just imported projects / plugins from a previous 8.2 install

GUEST: When append a new project , crashed

GUEST: ???

GUEST: installed dev version, import settings from netbeans 8.2
error occured while indexing maven repository was running

GUEST: ?

GUEST: input code only

GUEST: ?

khaperets: Open the project and see its error




Stacktrace: 
java.lang.StackOverflowError
   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)
   at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveAssignments(ModelUtils.java:1262)
Comment 1 athompson 2017-08-28 14:37:23 UTC
Created attachment 165035 [details]
stacktrace
Comment 2 MackSix 2017-09-02 05:40:06 UTC
Created attachment 165076 [details]
stacktrace

Tried to run node.js Debug from Projects context menu.
Comment 3 Exceptions Reporter 2017-09-02 05:40:10 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229798
Comment 4 alied 2017-10-24 16:41:58 UTC
Created attachment 165344 [details]
stacktrace

opening a maven web project
Comment 5 Exceptions Reporter 2017-11-28 12:20:27 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229798
Comment 6 sviatopolk 2018-02-13 17:14:09 UTC
To both SOLVE this and use the latest (only available) Nightly builds with Java 9, do the following:

Install openjdk-9-jdk on Debian/Ubuntu (or the relevant package of your OS or Oracle runtime, if any)

Download and install
- 8.2
- a Nightly build (say 201802130002)

Then copy ~/netbeans-8.2/webcommon/modules/org-netbeans-modules-javascript2-model.jar over to ~/netbeans-dev-201802130002

These folders are VALID FOR NETBEANS.ORG INSTALLERS ON LINUX ONLY. Your folders will differ for distribution-packed packages, and also on Windows and possibly for OSX as well.

Then Netbeans Nightly will run without problems.

REMEMBER NOT TO INSTALL THE NODE.JS EDITOR UPDATE FROM 1.7.1 TO 1.8. IT WILL REVERT YOUR REPLACEMENT AND YOU WILL NEED TO START OVER.
Comment 7 sviatopolk 2018-02-13 17:18:49 UTC
Nobody is able ANYMORE to get an e-mail followup of changes to this issue due to discontinuance of Oracle mail service.

So I will leave
Netbeans Nightly Dev Stack Overflow

and

at org.netbeans.modules.javascript2.model.api.ModelUtils.resolveTypes(ModelUtils.java:1232)

and

Netbeans 8.2 is very slow

for Web spiders so that users may become able to find this issue.