Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336078

Summary: ConcurrentModificationException during: "Refreshing workspace".
Product: [Eclipse Project] Platform Reporter: Tomasz Zarna <tomasz.zarna>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jamesblackburn+eclipse
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Tomasz Zarna CLA 2011-02-02 10:39:12 EST
eclipse.buildId=I20110127-2034
java.fullversion=JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
J9VM - 20100609_059383
JIT  - r9_20100401_15339ifx2
GC   - 20100308_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

Non default prefs:
Always run in background ON and Refresh workspace on startup ON

java.util.ConcurrentModificationException
at java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap.java:122)
at java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:127)
at java.util.HashMap$KeyIterator.next(HashMap.java:200)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:390)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1662)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$4.runInWorkspace(IDEWorkbenchAdvisor.java:404)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

FWIW, couple entries from bug 277820 were logged before the above.
Comment 1 James Blackburn CLA 2011-02-02 10:45:33 EST
Should be fixed in the nightlies.

*** This bug has been marked as a duplicate of bug 280488 ***