java.lang.ClassCastException: java.lang.Object incompatible with 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 incompatible with 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 incompatible with 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

    Launch configuration refactoring exceptions. (was: Entries under "Run Configuration" vanish after some usage of Eclipse IDE)

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

    ClassCastException in org.eclipse.ui.internal.menus.MenuHelper

    Eclipse Bugzilla | 4 years ago | alexander.gurov
    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 incompatible with 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.activate
      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.activate(EclipseContext.java:625)
      7 frames
    5. Eclipse Workbench
      PartServiceImpl.switchPerspective
      1. org.eclipse.e4.ui.internal.workbench.PartServiceImpl.switchPerspective(PartServiceImpl.java:503)
      1 frame
    6. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java:124)
      2. org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
      3. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
      3 frames
    7. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
      1 frame
    8. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
      1 frame
    9. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4299)
      1 frame
    10. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
      1 frame
    11. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
      1 frame
    12. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    13. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    14. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    15. org.eclipse.e4
      EventBroker.send
      1. org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
      1 frame
    16. Eclipse Workbench
      UIEventPublisher.notifyChanged
      1. org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
      1 frame
    17. org.eclipse.emf.common
      BasicNotifierImpl.eNotify
      1. org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
      1 frame
    18. org.eclipse.e4
      PerspectiveStackImpl.setSelectedElement
      1. org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java:135)
      2. org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java:1)
      2 frames
    19. Eclipse UI
      WorkbenchPage.setPerspective
      1. org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3558)
      1 frame
    20. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:146)
      2. org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:61)
      3. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      4. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
      4 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:600)
      3 frames
    22. org.eclipse.e4
      KeyBindingDispatcher$KeyDownFilter.handleEvent
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
      6. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:277)
      7. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:496)
      8. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:547)
      9. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:368)
      10. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:314)
      11. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:83)
      11 frames
    23. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.filterEvent(Display.java:1484)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1275)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1300)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1285)
      6. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1312)
      7. org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:748)
      8. org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3050)
      9. org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:741)
      10. org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1773)
      11. org.eclipse.swt.widgets.Control.windowProc(Control.java:5116)
      12. org.eclipse.swt.widgets.Display.windowProc(Display.java:4377)
      12 frames
    24. 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:8317)
      2 frames
    25. RWT
      Display.eventProc
      1. org.eclipse.swt.widgets.Display.eventProc(Display.java:1193)
      1 frame
    26. 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:2342)
      2 frames
    27. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3184)
      1 frame
    28. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
      1 frame
    29. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    30. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
      1 frame
    31. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
      1 frame
    32. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
      1 frame
    33. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    34. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
      1 frame
    35. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    36. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      1 frame
    37. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    38. 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
    39. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:600)
      4 frames
    40. 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:1438)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      4 frames