Project: Eclipse_Platform_UI
Bug 189588 [WorkingSets] ConcurrentModificationException in AbstractWorkingSetManager on startup
Reported: 2007-05-29 01:34:50 | Status: verified fixed

Build ID: I20070525-1350 Steps To Reproduce: 1. Start Eclipse 2. Sometimes error log view immediately shows two errors, first one with message "An unexpected runtime error has occurred.", second one with empty message. Stack trace: java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source) at java.util.TreeMap$KeyIterator.next(Unknown Source) at org.eclipse.ui.internal.AbstractWorkingSetManager.getWorkingSetsForId(AbstractWorkingSetManager.java:640) at org.eclipse.ui.internal.AbstractWorkingSetManager.bundleChanged(AbstractWorkingSetManager.java:621) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) More information: eclipse.buildId=I20070525-1350 java.version=1.6.0 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE This error could not be reproduced always, but if it happens, then only during startup process.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AbstractWorkingSetManager.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java