Project: Eclipse_Platform_UI
Bug 228863 [WorkbenchParts] ConcurrentModificationException in org.eclipse.ui.workbench
Reported: 2008-04-25 08:11:47 | Status: verified fixed

Build id: I20080422-0800 This is the exception I got after launching a self-hosted workbench. java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(Unknown Source) at java.util.HashMap$KeyIterator.next(Unknown Source) at org.eclipse.ui.internal.PartService.processPartJobs(PartService.java:150) at org.eclipse.ui.internal.PartService$PartListener.handleEvent(PartService.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1007) at org.eclipse.swt.widgets.Control.WM_SIZE(Control.java:4429) at org.eclipse.swt.widgets.Scrollable.WM_SIZE(Scrollable.java:357) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1522) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3854) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4485) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77) at org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4586) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3864) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4498) at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method) at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1301) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2621) at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:892) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2582) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2578) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2645) at org.eclipse.ui.internal.LayoutPart.setBounds(LayoutPart.java:300) at org.eclipse.ui.internal.presentations.PresentablePart.setBounds(PresentablePart.java:170) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layoutContent(PresentablePartFolder.java:131) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layout(PresentablePartFolder.java:412) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.setBounds(PresentablePartFolder.java:260) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.setBounds(TabbedStackPresentation.java:231) at org.eclipse.ui.internal.PartStack.setBounds(PartStack.java:1198) at org.eclipse.ui.internal.LayoutTree.doSetBounds(LayoutTree.java:547) at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538) at org.eclipse.ui.internal.LayoutTreeNode.doSetBounds(LayoutTreeNode.java:536) at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538) at org.eclipse.ui.internal.LayoutTreeNode.doSetBounds(LayoutTreeNode.java:505) at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538) at org.eclipse.ui.internal.LayoutTreeNode.doSetBounds(LayoutTreeNode.java:536) at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538) at org.eclipse.ui.internal.PartSashContainer.resizeSashes(PartSashContainer.java:807) at org.eclipse.ui.internal.PartSashContainer.access$1(PartSashContainer.java:797) at org.eclipse.ui.internal.PartSashContainer$1.controlResized(PartSashContainer.java:171) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1007) at org.eclipse.swt.widgets.Control.WM_SIZE(Control.java:4429) at org.eclipse.swt.widgets.Scrollable.WM_SIZE(Scrollable.java:357) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1522) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3854) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4485) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77) at org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4586) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3864) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4485) at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method) at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1301) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2621) at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:892) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2582) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2578) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2645) at org.eclipse.swt.custom.StackLayout.layout(StackLayout.java:116) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1144) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1533) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3854) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4485) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77) at org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4586) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3864) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4498) at org.eclipse.swt.internal.win32.OS.EndDeferWindowPos(Native Method) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:822) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:788) at org.eclipse.swt.widgets.Composite.setResizeChildren(Composite.java:1012) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1537) at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:446) at org.eclipse.swt.widgets.Decorations.WM_SIZE(Decorations.java:1743) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3854) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1929) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4498) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:474) at org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4586) at org.eclipse.swt.widgets.Canvas.WM_WINDOWPOSCHANGED(Canvas.java:452) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3864) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1929) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4498) at org.eclipse.swt.internal.win32.OS.ShowWindow(Native Method) at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1360) at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1756) at org.eclipse.swt.widgets.Shell.open(Shell.java:1146) at org.eclipse.jface.window.Window.open(Window.java:797) at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:761) at org.eclipse.ui.internal.Workbench$59.runWithException(Workbench.java:3363) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3757) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3382) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1346) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3757) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2271) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2181) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:477) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:472) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

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