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 220924 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.remove
Summary: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.r...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS Tasks (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-26 13:45 UTC by Ondrej Vrabec
Modified: 2013-04-18 02:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 194141


Attachments
stacktrace (1.97 KB, text/plain)
2012-10-26 13:45 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2012-10-26 13:45:47 UTC
Build: NetBeans IDE Dev (Build 20121026-44258184099a)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Linux

User Comments:
ovrabec: i was getting a coffee




Stacktrace: 
java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.remove(HashMap.java:912)
   at java.util.AbstractSet.removeAll(AbstractSet.java:177)
   at org.netbeans.modules.ods.tasks.query.C2CQuery$1.run(C2CQuery.java:317)
   at org.netbeans.modules.ods.tasks.query.C2CQuery.executeQuery(C2CQuery.java:360)
   at org.netbeans.modules.ods.tasks.query.C2CQuery.refreshIntern(C2CQuery.java:277)
   at org.netbeans.modules.ods.tasks.query.C2CQuery$PredefinedQuery.refresh(C2CQuery.java:549)
Comment 1 Ondrej Vrabec 2012-10-26 13:45:49 UTC
Created attachment 126621 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-10-26 13:55:49 UTC
well, not exactly a coffee - a yogurt, actually.
Anyway, while i was away from keyboard, the Task dashboard was active, it had an ODSC repository opened and expanded with all predefined queries plus one user-defined query present.
Comment 3 Tomas Stupka 2012-10-30 15:21:15 UTC
obviously, not thread safe.
Comment 4 Tomas Stupka 2012-11-29 16:40:09 UTC
fixed in core-main #66a319f8ccb4
Comment 5 Quality Engineering 2013-04-18 02:20:54 UTC
Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/66a319f8ccb4
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #220924 - java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.remove