java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.eclipse.gef.EditPart

GitHub | cxbrooks | 6 months ago
  1. 0

    Dragging a TrigFunction actor fails in the May 29 build and throws an exception in the head

    GitHub | 6 months ago | cxbrooks
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.eclipse.gef.EditPart
  2. 0

    GEF/GMF editors throw exception on "Show location"

    GitHub | 5 years ago | istvanrath
    java.lang.ClassCastException: org.eclipse.stp.bpmn.impl.ActivityImpl cannot be cast to org.eclipse.gef.EditPart
  3. 0

    Collections which extend iterators

    Coderanch | 2 years ago | Henry Wong
    java.lang.ClassCastException: java.util.ArrayList$Itr cannot be cast to java.util.ArrayList
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Collections which extend iterators

    Coderanch | 2 years ago | claire bird
    java.lang.ClassCastException: java.util.ArrayList$Itr cannot be cast to java.util.ArrayList
  6. 0

    Java ArrayList class cast exception when trying to set an member variable for an instance of a class

    Stack Overflow | 3 years ago | Drew
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String

    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.util.ArrayList cannot be cast to org.eclipse.gef.EditPart

      at org.eclipse.triquetrum.workflow.editor.palette.ui.PaletteTreeViewer.findObjectAtExcluding()
    2. org.eclipse.triquetrum
      PaletteTreeViewer.findObjectAtExcluding
      1. org.eclipse.triquetrum.workflow.editor.palette.ui.PaletteTreeViewer.findObjectAtExcluding(PaletteTreeViewer.java:127)
      1 frame
    3. Graphical Editing Framework
      GraphicalViewerImpl$1$TheLastListener.dragFinished
      1. org.eclipse.gef.tools.TargetingTool.updateTargetUnderMouse(TargetingTool.java:425)
      2. org.eclipse.gef.tools.TargetingTool.unlockTargetEditPart(TargetingTool.java:388)
      3. org.eclipse.gef.tools.SelectionTool.handleNativeDragFinished(SelectionTool.java:396)
      4. org.eclipse.gef.tools.AbstractTool.nativeDragFinished(AbstractTool.java:1247)
      5. org.eclipse.gef.EditDomain.nativeDragFinished(EditDomain.java:330)
      6. org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchNativeDragFinished(DomainEventDispatcher.java:396)
      7. org.eclipse.gef.ui.parts.GraphicalViewerImpl$1$TheLastListener.dragFinished(GraphicalViewerImpl.java:376)
      7 frames
    4. RWT
      DragSource.dragSourceProc
      1. org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:45)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
      8. org.eclipse.swt.dnd.DragSource.draggedImage_endedAt_operation(DragSource.java:445)
      9. org.eclipse.swt.dnd.DragSource.dragSourceProc(DragSource.java:562)
      9 frames
    5. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    6. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
      2. org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1121)
      3. org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2047)
      4. org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1113)
      5. org.eclipse.swt.widgets.Control.mouseDown(Control.java:2569)
      6. org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2015)
      7. org.eclipse.swt.widgets.Display.windowProc(Display.java:5692)
      7 frames
    7. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    8. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2130)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2337)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:5756)
      4 frames
    9. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    10. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5193)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5342)
      2 frames
    11. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      2 frames
    12. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
      1 frame
    13. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    14. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    15. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    16. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    17. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      1 frame
    18. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    19. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      1 frame
    20. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    21. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    22. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    23. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    25. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames