Community
Participate
Working Groups
I200404220800 Steps: 1. startup first time using I200404220800 2. started Build All Marking as major since I don't know the consequences of this exception. !SESSION Apr 22, 2004 16:30:32.795 --------------------------------------------- java.version=1.4.2_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Command-line arguments: -update -keyring c:\eclipse\.keyring -application org.eclipse.ui.ide.workbench -showlocation !ENTRY org.eclipse.core.runtime 4 2 Apr 22, 2004 16:30:32.795 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime". !STACK 0 java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$KeyIterator.next(HashMap.java:818) at org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaModelManager.java:1410) at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:308) at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:129) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:609) at org.eclipse.core.runtime.Platform.run(Platform.java:541) at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:141) at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1323) at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:42) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) !ENTRY org.eclipse.core.resources 2 2 Apr 22, 2004 16:30:34.07 !MESSAGE Save operation warnings. !SUBENTRY 1 org.eclipse.core.resources 2 566 Apr 22, 2004 16:30:34.07 !MESSAGE Problems occurred during save. !STACK 0 java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$KeyIterator.next(HashMap.java:818) at org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaModelManager.java:1410) at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:308) at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:129) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:609) at org.eclipse.core.runtime.Platform.run(Platform.java:541) at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:141) at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1323) at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:42) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Sorry - this was in another context (I was also running a 2.1 build worksapce). This happened there during save and I was probably using I20040413 at that time.
*** Bug 59757 has been marked as a duplicate of this bug. ***
I am usin the integrtion build I20040428 and I get this relative often (every 20 minutes or so) "Problems occurred during save." java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at java.util.HashMap$KeyIterator.next(HashMap.java:818) at org.eclipse.jdt.internal.core.JavaModelManager.saving (JavaModelManager.java:1410) at org.eclipse.core.internal.resources.SaveManager.executeLifecycle (SaveManager.java:308) at org.eclipse.core.internal.resources.SaveManager$1.run (SaveManager.java:129) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:599) at org.eclipse.core.runtime.Platform.run(Platform.java:543) at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle (SaveManager.java:141) at org.eclipse.core.internal.resources.SaveManager.save (SaveManager.java:1323) at org.eclipse.core.internal.resources.DelayedSnapshotJob.run (DelayedSnapshotJob.java:42) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
*** Bug 60947 has been marked as a duplicate of this bug. ***
*** Bug 61057 has been marked as a duplicate of this bug. ***
*** Bug 61142 has been marked as a duplicate of this bug. ***
Now cloning the HashMap before iterating over it. Also protected other access to the 'containers' field. Note for those who worried, the consequence of this bug were null.
Verified for 3.0 M9 with build I200405180816.