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 231348 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry
Summary: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.n...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-17 09:44 UTC by mslama
Modified: 2013-08-16 02:39 UTC (History)
22 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201468


Attachments
stacktrace (4.99 KB, text/plain)
2013-06-17 09:44 UTC, mslama
Details
stacktrace (4.99 KB, text/plain)
2013-07-11 10:54 UTC, mslama
Details
stacktrace (4.85 KB, text/plain)
2013-07-31 08:04 UTC, Tomas Mysik
Details
stacktrace (4.99 KB, text/plain)
2013-08-05 13:35 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2013-06-17 09:44:02 UTC
Build: NetBeans IDE Dev (Build 201306162301)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
mslama: Edit java code




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextEntry(HashMap.java:894)
   at java.util.HashMap$ValueIterator.next(HashMap.java:922)
   at org.netbeans.modules.javascript2.editor.model.impl.JsFunctionImpl.resolveTypes(JsFunctionImpl.java:299)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:189)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:195)
   at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:195)
Comment 1 mslama 2013-06-17 09:44:04 UTC
Created attachment 135875 [details]
stacktrace
Comment 2 Petr Pisl 2013-06-19 08:18:25 UTC
Thanks for the reporting. Marku do you have a reproducible file?
Comment 3 mslama 2013-06-19 08:47:21 UTC
I am afraid not. I was editing some Java code without any JS code. It looks like it parsed something on background. I will try to locate it if it happens next time.
Comment 4 Exceptions Reporter 2013-06-27 08:20:22 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=201468
Comment 5 Exceptions Reporter 2013-07-10 07:36:21 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=201468
Comment 6 mslama 2013-07-11 10:54:25 UTC
Created attachment 136988 [details]
stacktrace

Find in editor
Comment 7 Tomas Mysik 2013-07-31 08:04:02 UTC
Created attachment 138040 [details]
stacktrace

installing JS libraries
Comment 8 mslama 2013-08-05 13:35:12 UTC
Created attachment 138298 [details]
stacktrace

Open project
Comment 9 Vladimir Riha 2013-08-07 08:08:35 UTC
86 exception reports (17 reg.users and a lot of  guests' reports with different user dirs) in 2 months. Could you please evaluate?
Comment 10 Petr Pisl 2013-08-15 08:05:01 UTC
Fixed in web-main: http://hg.netbeans.org/web-main/rev/f3ad5e2554ae
Comment 11 Quality Engineering 2013-08-16 02:39:37 UTC
Integrated into 'main-silver', will be available in build *201308152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f3ad5e2554ae
User: Petr Pisl <ppisl@netbeans.org>
Log: #231348 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry