Community
Participate
Working Groups
Caused by: java.util.ConcurrentModificationException: concurrent access to HashMap attempted by Thread[Worker-2,5,main] at java.util.HashMap.onExit(HashMap.java:217) at java.util.HashMap.transfer(HashMap.java:514) at java.util.HashMap.resize(HashMap.java:500) at java.util.HashMap.addEntry(HashMap.java:800) at java.util.HashMap.put(HashMap.java:441) at java.util.HashSet.add(HashSet.java:209) at org.eclipse.core.internal.preferences.InstancePreferences.loaded(InstancePreferences.java:79) at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:308) at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543) at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:662) Looking at the code, it appears that access to the loadedNodes HashSet is not synchronized.
*** Bug 180539 has been marked as a duplicate of this bug. ***
*** Bug 207168 has been marked as a duplicate of this bug. ***
Created attachment 104708 [details] patch Patch to ensure all called to the static field are synchronized.
Released patch into 3.4 maintenance branch. Branched org.eclipse.equinox.preferences and org.eclipse.core.resources projects. Tagged projects with version R34x_v20080709 and updated map files.
oh, and I also updated the bundle versions for the prefs and core.resources bundles by +1.
This fix wasn't sufficient.
*** Bug 293680 has been marked as a duplicate of this bug. ***
*** Bug 293678 has been marked as a duplicate of this bug. ***
Created attachment 150837 [details] Fix for ProjectPreferences only Need to fix other copies as well.
Fixed in HEAD. Will be available in 3.6 M4. Opened bug 293820 to track back-porting to previous releases. Closing.
*** Bug 275924 has been marked as a duplicate of this bug. ***
*** Bug 290189 has been marked as a duplicate of this bug. ***
*** Bug 321734 has been marked as a duplicate of this bug. ***