java.lang.ClassCastException: ru.runa.gpd.lang.model.BotTask cannot be cast to ru.runa.gpd.lang.model.GraphElement

runawfe | vromav | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ru.runa.gpd.lang.model.BotTask cannot be cast to ru.runa.gpd.lang.model.GraphElement

    runawfe | 3 years ago | vromav
    java.lang.ClassCastException: ru.runa.gpd.lang.model.BotTask cannot be cast to ru.runa.gpd.lang.model.GraphElement

    Root Cause Analysis

    1. 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()
    2. ru.runa.gpd
      LoggingSelectionAdapter.widgetSelected
      1. ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile.showEmbeddedFile(Unknown Source)
      2. ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile.access$1(Unknown Source)
      3. ru.runa.gpd.office.InputOutputComposite$ChooseStringOrFile$1.onSelection(Unknown Source)
      4. ru.runa.gpd.ui.custom.LoggingSelectionAdapter.widgetSelected(Unknown Source)
      4 frames
    3. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
      5 frames
    4. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    5. ru.runa.gpd
      LoggingSelectionAdapter.widgetSelected
      1. ru.runa.gpd.extension.handler.XmlBasedConstructorProvider.showConfigurationDialog(Unknown Source)
      2. ru.runa.gpd.editor.BotTaskEditor$2.onSelection(Unknown Source)
      3. ru.runa.gpd.ui.custom.LoggingSelectionAdapter.widgetSelected(Unknown Source)
      3 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
      5 frames
    7. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    9. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    10. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    11. ru.runa.gpd
      Application.start
      1. ru.runa.gpd.Application.start(Unknown Source)
      1 frame
    12. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    13. 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:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    15. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      3 frames