Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Eclipse Bugzilla by robert.munteanu, 1 year ago
via GitHub by danielgchap
, 2 years ago
java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
via eclipse.org by Unknown author, 1 year ago
java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
via Eclipse Bugzilla by christian.georgi, 1 year ago
class java.lang.Object:null incompatible with interface org.eclipse.e4.core.commands.EHandlerService:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@37e7eb[org.eclipse.e4.core.commands:0.10.1.v20120523-1955(id=719)]
via Eclipse Bugzilla by dominik.stadler, 1 year ago
via Eclipse Bugzilla by alexander.gurov, 1 year ago
java.lang.Object cannot be cast to org.eclipse.e4.core.commands.EHandlerService
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(MenuHelper.java:240)	at org.eclipse.e4.ui.internal.workbench.ContributionsAnalyzer.isVisible(ContributionsAnalyzer.java:248)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.computeVisibility(ToolBarContributionRecord.java:114)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarContributionRecord.updateVisibility(ToolBarContributionRecord.java:68)	at org.eclipse.e4.ui.workbench.renderers.swt.ToolBarManagerRenderer$6.changed(ToolBarManagerRenderer.java:352)	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:324)	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:338)	at org.eclipse.e4.core.internal.contexts.EclipseContext$1.changed(EclipseContext.java:734)	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)	at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:324)	at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:338)	at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:192)	at org.eclipse.ui.part.PageSite.dispose(PageSite.java:173)	at org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:519)	at org.eclipse.debug.ui.AbstractDebugView.dispose(AbstractDebugView.java:402)	at org.eclipse.debug.internal.ui.views.variables.VariablesView.dispose(VariablesView.java:429)	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:222)	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:387)	at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)	at org.eclipse.e4.core.internal.di.InjectorImpl.uninject(InjectorImpl.java:172)	at org.eclipse.e4.core.internal.di.Requestor.uninject(Requestor.java:137)	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:82)	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)	at org.eclipse.e4.core.internal.contexts.EclipseContext.removeListenersTo(EclipseContext.java:450)	at org.eclipse.e4.core.contexts.ContextInjectionFactory.uninject(ContextInjectionFactory.java:143)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:851)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.disposeWidget(ElementReferenceRenderer.java:109)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:842)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:796)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:803)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:771)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:766)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:751)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.stop(PartRenderingEngine.java:1101)	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1121)	at org.eclipse.ui.internal.Workbench.access$16(Workbench.java:1001)	at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1182)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1180)	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1153)	at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1167)	at org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1137)	at org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1200)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1198)	at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1210)	at org.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:446)	at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:580)	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)	at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:646)	at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1228)	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2078)	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5334)	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4532)	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8549)	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1241)	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2281)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3324)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1049)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:939)	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:79)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:587)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:542)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)	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:353)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)	at org.eclipse.equinox.launcher.Main.run(Main.java:1443)	at org.eclipse.equinox.launcher.Main.main(Main.java:1419)