java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService

Eclipse Bugzilla | robert.munteanu | 4 years ago
  1. 0

    Bug 398925 – After prolonged usage Eclipse becomes unusable : java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService

    eclipse.org | 6 months ago
    java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
  2. 0

    After prolonged usage Eclipse becomes unusable : java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService

    Eclipse Bugzilla | 4 years ago | robert.munteanu
    java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
  3. 0

    GitHub comment 2079#171638672

    GitHub | 11 months ago | danielgchap
    java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception while dispatching event org.osgi.service.event.Event

    Eclipse Bugzilla | 4 years ago | farmboy0
    java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
  6. 0

    Exception while dispatching event org.osgi.service.event.Event

    Eclipse Bugzilla | 4 years ago | dhockin
    java.lang.ClassCastException: java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService

      at org.eclipse.ui.internal.menus.MenuHelper$1.evaluate()
    2. Workbench
      MenuHelper$1.evaluate
      1. org.eclipse.ui.internal.menus.MenuHelper$1.evaluate(MenuHelper.java:240)
      1 frame
    3. Eclipse Workbench
      ContributionsAnalyzer.isVisible
      1. org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.isVisible(ContributionsAnalyzer.java:248)
      1 frame
    4. org.eclipse.e4
      EclipseContext.dispose
      1. org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.computeVisibility(ToolBarContributionRecord.java:114)
      2. org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.updateVisibility(ToolBarContributionRecord.java:68)
      3. org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer$6.changed(ToolBarManagerRenderer.java:352)
      4. org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
      5. org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:324)
      6. org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:338)
      7. org.eclipse.e4.core.internal.contexts.EclipseContext$1.changed(EclipseContext.java:734)
      8. org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
      9. org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:324)
      10. org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:338)
      11. org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:192)
      11 frames
    5. Eclipse UI
      PageBookView.dispose
      1. org.eclipse.ui.part.PageSite.dispose(PageSite.java:173)
      2. org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:519)
      2 frames
    6. org.eclipse.debug
      VariablesView.dispose
      1. org.eclipse.debug.ui.AbstractDebugView.dispose(AbstractDebugView.java:402)
      2. org.eclipse.debug.internal.ui.views.variables.VariablesView.dispose(VariablesView.java:429)
      2 frames
    7. org.eclipse.ui
      CompatibilityPart.destroy
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:222)
      2. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:387)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      3 frames
    9. org.eclipse.e4
      ContextInjectionFactory.uninject
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
      4. org.eclipse.e4.core.internal.di.InjectorImpl.uninject(InjectorImpl.java:172)
      5. org.eclipse.e4.core.internal.di.Requestor.uninject(Requestor.java:137)
      6. org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:82)
      7. org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)
      8. org.eclipse.e4.core.internal.contexts.EclipseContext.removeListenersTo(EclipseContext.java:450)
      9. org.eclipse.e4.core.contexts.ContextInjectionFactory.uninject(ContextInjectionFactory.java:143)
      9 frames
    10. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:851)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      3 frames
    11. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    12. Eclipse Workbench SWT
      PartRenderingEngine.removeGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      1 frame
    13. org.eclipse.e4
      ElementReferenceRenderer.disposeWidget
      1. org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.disposeWidget(ElementReferenceRenderer.java:109)
      1 frame
    14. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:842)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      3 frames
    15. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    16. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    17. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    19. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    20. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    21. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    22. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    23. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    24. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    25. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    26. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    27. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    28. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    29. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    30. Eclipse Workbench SWT
      PartRenderingEngine$8.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)
      4 frames
    31. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    32. Eclipse Workbench SWT
      PartRenderingEngine.stop
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.stop(PartRenderingEngine.java:1101)
      2 frames
    33. Eclipse UI
      Workbench$17.run
      1. org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1121)
      2. org.eclipse.ui.internal.Workbench.access$16(Workbench.java:1001)
      3. org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1182)
      3 frames
    34. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    35. Eclipse UI
      WorkbenchWindow$10.run
      1. org.eclipse.ui.internal.Workbench.close(Workbench.java:1180)
      2. org.eclipse.ui.internal.Workbench.close(Workbench.java:1153)
      3. org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1167)
      4. org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1137)
      5. org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1200)
      5 frames
    36. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    37. Eclipse UI
      WorkbenchWindow$6.close
      1. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1198)
      2. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1210)
      3. org.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:446)
      3 frames
    38. org.eclipse.e4
      WBWRenderer$11.shellClosed
      1. org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:580)
      1 frame
    39. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
      6. org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:646)
      7. org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1228)
      8. org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2078)
      9. org.eclipse.swt.widgets.Control.windowProc(Control.java:5334)
      10. org.eclipse.swt.widgets.Display.windowProc(Display.java:4532)
      10 frames
    40. org.eclipse.swt
      OS.gtk_main_do_event
      1. org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      2. org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8549)
      2 frames
    41. RWT
      Display.eventProc
      1. org.eclipse.swt.widgets.Display.eventProc(Display.java:1241)
      1 frame
    42. org.eclipse.swt
      OS.g_main_context_iteration
      1. org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      2. org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2281)
      2 frames
    43. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3324)
      1 frame
    44. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1049)
      1 frame
    45. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    46. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:939)
      1 frame
    47. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:79)
      1 frame
    48. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:587)
      1 frame
    49. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    50. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:542)
      1 frame
    51. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    52. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      1 frame
    53. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    54. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      4 frames
    55. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    56. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1443)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1419)
      4 frames