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:328)
      6. org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:342)
      7. org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:192)
      7 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
      BreakpointsView.dispose
      1. org.eclipse.debug.ui.AbstractDebugView.dispose(AbstractDebugView.java:402)
      2. org.eclipse.debug.internal.ui.views.variables.VariablesView.dispose(VariablesView.java:430)
      3. org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView.dispose(BreakpointsView.java:118)
      3 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.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
    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:454)
      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:853)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      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:844)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:798)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:798)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:798)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:798)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:805)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:798)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:805)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      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:753)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:805)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:773)
      4. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:768)
      4 frames
    31. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    32. Eclipse Workbench SWT
      PartRenderingEngine.removeGui
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:753)
      1 frame
    33. Eclipse UI
      WorkbenchWindow$10.run
      1. org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1511)
      2. org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1169)
      3. org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1136)
      4. org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1199)
      4 frames
    34. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    35. Eclipse UI
      Workbench$16.run
      1. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1197)
      2. org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1107)
      2 frames
    36. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    37. Eclipse UI
      Workbench$17.run
      1. org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1090)
      2. org.eclipse.ui.internal.Workbench.access$16(Workbench.java:1002)
      3. org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1183)
      3 frames
    38. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    39. Eclipse UI
      WorkbenchWindow$10.run
      1. org.eclipse.ui.internal.Workbench.close(Workbench.java:1181)
      2. org.eclipse.ui.internal.Workbench.close(Workbench.java:1154)
      3. org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1165)
      4. org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1136)
      5. org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1199)
      5 frames
    40. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    41. Eclipse UI
      WorkbenchWindow$6.close
      1. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1197)
      2. org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1209)
      3. org.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:445)
      3 frames
    42. org.eclipse.e4
      WBWRenderer$11.shellClosed
      1. org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:580)
      1 frame
    43. 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
    44. 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
    45. RWT
      Display.eventProc
      1. org.eclipse.swt.widgets.Display.eventProc(Display.java:1241)
      1 frame
    46. 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
    47. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3324)
      1 frame
    48. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1057)
      1 frame
    49. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    50. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:941)
      1 frame
    51. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:79)
      1 frame
    52. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
      1 frame
    53. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    54. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
      1 frame
    55. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    56. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      1 frame
    57. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    58. 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:354)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      4 frames
    59. 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
    60. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      4 frames