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 149347 - 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: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 159995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-07 11:36 UTC by Jaromir Uhrik
Modified: 2009-05-26 10:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 124074


Attachments
stacktrace (1.46 KB, text/plain)
2008-10-07 11:36 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2008-10-07 11:36:41 UTC
Build: NetBeans IDE Dev (Build 080929)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14
OS: Windows XP, 5.1, x86

User Comments:
juhrik: Sometimes when the Plugin Manager launches the ConcurentModificationException appears in exception dialog. To better reproduce this random issue set checking updates to EVERY STARTUP (in Settings tab of Plugin Manager)



Stacktrace: 
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$KeyIterator.next(HashMap.java:828)
        at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
        at org.netbeans.modules.autoupdate.services.Utilities.handleBackwardCompatability(Utilities.java:533)
        at org.netbeans.modules.autoupdate.services.Utilities.findRequiredUpdateElements(Utilities.java:486)
        at org.netbeans.modules.autoupdate.services.OperationValidator$InstallValidator.getRequiredElementsImpl(OperationValidator.java:188)
Comment 1 Jaromir Uhrik 2008-10-07 11:36:46 UTC
Created attachment 71275 [details]
stacktrace
Comment 2 Jiri Rechtacek 2008-10-07 11:39:33 UTC
I'll try attached a patch ASAP.
Comment 3 Jiri Rechtacek 2008-10-23 15:47:02 UTC
fixed in rev/f265481da215
Comment 4 Quality Engineering 2008-10-24 04:10:59 UTC
Integrated into 'main-golden', will be available in build *200810240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f265481da215
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #149347: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry
Comment 5 dlipin 2009-05-26 10:04:19 UTC
*** Issue 159995 has been marked as a duplicate of this issue. ***