Fuse IDE
  1. Fuse IDE
  2. ECLIPSE-435

Cannot add new endpoint to Camel GUI editor

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      2.1.104
    • Similar Issues:
      Show 6 results 

      Description

      To reproduce

      1. New Fuse Project
      2. Select camel-spring archetype (not the OSGi version)
      3. Open the camel-context.xml file
      4. Drag an Endpoint on the canvas, nothing happens

      An error is logged in the errors log (show view -> error log)

        Activity

        Hide
        Claus Ibsen
        added a comment -

        Message: Unhandled event loop exception

        java.lang.ClassCastException: org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot$DefaultCreationFactory cannot be cast to java.lang.Class
        	at com.fusesource.rider.editor.editor.RiderDesignEditor$3.getFactory(RiderDesignEditor.java:605)
        	at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.createTargetRequest(TemplateTransferDropTargetListener.java:54)
        	at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.getTargetRequest(AbstractTransferDropTargetListener.java:270)
        	at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.getCreateRequest(TemplateTransferDropTargetListener.java:65)
        	at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.updateTargetRequest(TemplateTransferDropTargetListener.java:137)
        	at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.isEnabled(AbstractTransferDropTargetListener.java:396)
        	at org.eclipse.jface.util.DelegatingDropAdapter.updateCurrentListener(DelegatingDropAdapter.java:365)
        	at org.eclipse.jface.util.DelegatingDropAdapter.dragEnter(DelegatingDropAdapter.java:128)
        	at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:60)
        	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
        	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
        	at org.eclipse.swt.dnd.DropTarget.draggingEntered(DropTarget.java:240)
        	at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:448)
        	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
        	at org.eclipse.swt.internal.cocoa.NSView.dragImage(NSView.java:150)
        	at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:397)
        	at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:218)
        	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
        	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
        	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971)
        	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
        	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
        	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
        	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
        	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(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	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)
        
        Show
        Claus Ibsen
        added a comment - Message: Unhandled event loop exception java.lang.ClassCastException: org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot$DefaultCreationFactory cannot be cast to java.lang. Class at com.fusesource.rider.editor.editor.RiderDesignEditor$3.getFactory(RiderDesignEditor.java:605) at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.createTargetRequest(TemplateTransferDropTargetListener.java:54) at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.getTargetRequest(AbstractTransferDropTargetListener.java:270) at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.getCreateRequest(TemplateTransferDropTargetListener.java:65) at org.eclipse.gef.dnd.TemplateTransferDropTargetListener.updateTargetRequest(TemplateTransferDropTargetListener.java:137) at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.isEnabled(AbstractTransferDropTargetListener.java:396) at org.eclipse.jface.util.DelegatingDropAdapter.updateCurrentListener(DelegatingDropAdapter.java:365) at org.eclipse.jface.util.DelegatingDropAdapter.dragEnter(DelegatingDropAdapter.java:128) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:60) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.dnd.DropTarget.draggingEntered(DropTarget.java:240) at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:448) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.dragImage(NSView.java:150) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:397) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:218) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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)
        Hide
        James Strachan
        added a comment -

        fixed - should arrive in 2.1.108

        Show
        James Strachan
        added a comment - fixed - should arrive in 2.1.108

          People

          • Assignee:
            James Strachan
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: