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 runawfe by vromav
, 1 year ago
ru.runa.gpd.lang.model.BotTask cannot be cast to ru.runa.gpd.lang.model.GraphElement
java.lang.ClassCastException: ru.runa.gpd.lang.model.BotTask cannot be cast to ru.runa.gpd.lang.model.GraphElement	at ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile.showEmbeddedFile(Unknown Source)	at ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile.access$1(Unknown Source)	at ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile$1.onSelection(Unknown Source)	at ru.runa.gpd.ui.custom.LoggingSelectionAdapter.widgetSelected(Unknown Source)	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)	at org.eclipse.jface.window.Window.open(Window.java:801)	at ru.runa.gpd.extension.handler.XmlBasedConstructorProvider.showConfigurationDialog(Unknown Source)	at ru.runa.gpd.editor.BotTaskEditor$2.onSelection(Unknown Source)	at ru.runa.gpd.ui.custom.LoggingSelectionAdapter.widgetSelected(Unknown Source)	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at ru.runa.gpd.Application.start(Unknown Source)	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:344)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)