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 270063 - java.util.ConcurrentModificationException at java.util.HashMap.computeIfAbsent
Summary: java.util.ConcurrentModificationException at java.util.HashMap.computeIfAbsent
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 16:00 UTC by Martin Balin
Modified: 2017-03-15 02:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228389


Attachments
stacktrace (3.76 KB, text/plain)
2017-03-13 16:00 UTC, Martin Balin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Balin 2017-03-13 16:00:55 UTC
Build: NetBeans IDE Dev (Build 20170313-36c8daae1dd6)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+158, Java(TM) SE Runtime Environment, 9-ea+158
OS: Linux

User Comments:
mbalin: Started IDE on top of JDK 9 EA b158
Several JDK9 projects opened from previous session. Includes module-info.java and dependencies among them.




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap.computeIfAbsent(HashMap.java:1138)
   at org.netbeans.modules.java.api.common.classpath.MultiModuleClassPathProvider$Cache.lambda$computeIfAbsentGlobal$1(MultiModuleClassPathProvider.java:849)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:209)
   at org.openide.util.Mutex.readAccess(Mutex.java:218)
   at org.netbeans.modules.java.api.common.classpath.MultiModuleClassPathProvider$Cache.computeIfAbsentGlobal(MultiModuleClassPathProvider.java:847)
   at org.netbeans.modules.java.api.common.classpath.MultiModuleClassPathProvider$Cache.computeIfAbsent(MultiModuleClassPathProvider.java:807)
Comment 1 Martin Balin 2017-03-13 16:00:58 UTC
Created attachment 163827 [details]
stacktrace
Comment 2 Tomas Zezula 2017-03-14 08:39:01 UTC
Fixed jet-main http://hg.netbeans.org/jet-main/rev/9805e7e8e8e7
Comment 3 Quality Engineering 2017-03-15 02:50:14 UTC
Integrated into 'main-silver', will be available in build *201703150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9805e7e8e8e7
User: Tomas Zezula <tzezula@netbeans.org>
Log: #270063:java.util.ConcurrentModificationException at java.util.HashMap.computeIfAbsent