Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311138 - ConcurrentModificationException in PartRenderingEngine
Summary: ConcurrentModificationException in PartRenderingEngine
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 04:41 EDT by Thomas Schindl CLA
Modified: 2010-06-08 10:31 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2010-04-30 04:41:31 EDT
Looks like something tries to change the list while we are iterating it:

org.eclipse.e4.core.di.InjectionException: java.util.ConcurrentModificationException
        at org.eclipse.e4.core.internal.di.MethodRequestor.callMethod(MethodRequestor.java:66)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:33)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:183)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:164)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:104)
        at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:114)
        at org.eclipse.e4.workbench.ui.renderers.swt.MenuItemRenderer$5.widgetSelected(MenuItemRenderer.java:245)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3734)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1335)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1358)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1155)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3594)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3250)
        at org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine$4.run(PartRenderingEngine.java:517)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine.run(PartRenderingEngine.java:455)
        at org.eclipse.e4.workbench.ui.internal.E4Workbench.createAndRunUI(E4Workbench.java:100)
        at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:533)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:519)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        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:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: java.util.ConcurrentModificationException
        at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:762)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:716)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:696)
        at org.eclipse.e4.ui.workbench.swt.internal.PartRenderingEngine.stop(PartRenderingEngine.java:552)
        at org.eclipse.ui.internal.Workbench.restart(Workbench.java:2144)
        at org.eclipse.ui.internal.handlers.RestartWorkbenchHandler.execute(RestartWorkbenchHandler.java:31)
        at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
        at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.e4.core.internal.di.MethodRequestor.callMethod(MethodRequestor.java:59)
Comment 1 Thomas Schindl CLA 2010-06-08 10:31:03 EDT
can't reproduce anymore