Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2008

Unable to drag&drop certain components to canvas

    Details

    • Steps to Reproduce:
      Hide
      1. Open JBDS 8.1
      2. Create New Project -> Other -> Maven Project
      3. Select io.fabric8.archetypes/java-camel-spring-archetype/2.2.0.redhat-079
      4. Open camel-context.xml
      5. Delete example cbr Route
      6. Save camel-context.xml
      7. Drag and drop a Direct component
      Show
      Open JBDS 8.1 Create New Project -> Other -> Maven Project Select io.fabric8.archetypes/java-camel-spring-archetype/2.2.0.redhat-079 Open camel-context.xml Delete example cbr Route Save camel-context.xml Drag and drop a Direct component

      Description

      When I try to drag and drop a Direct component from the palette to an empty canvas, nothing happens. When I check error log, there's a "GFCommandStack.execute(Command) java.lang.NullPointerException"

      Stack Trace: java.lang.NullPointerException
      at org.fusesource.ide.camel.editor.utils.MavenUtils.updateMavenDependencies(MavenUtils.java:72)
      at org.fusesource.ide.camel.editor.features.create.ext.CreateFigureFeature.updateMavenDependencies(CreateFigureFeature.java:176)
      at org.fusesource.ide.camel.editor.features.create.ext.CreateConnectorFigureFeature.create(CreateConnectorFigureFeature.java:67)
      at org.eclipse.graphiti.features.impl.AbstractCreateFeature.execute(AbstractCreateFeature.java:100)
      at org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext.execute(GenericFeatureCommandWithContext.java:64)
      at org.eclipse.graphiti.internal.command.GFPreparableCommand.doExecute(GFPreparableCommand.java:37)
      at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
      at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:115)
      at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
      at org.eclipse.graphiti.internal.command.CommandExec.executeCommand(CommandExec.java:85)
      at org.eclipse.graphiti.ui.internal.command.CreateModelObjectCommand.execute(CreateModelObjectCommand.java:55)
      at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:54)
      at org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:43)
      at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
      at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
      at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
      at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
      at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
      at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
      at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:84)
      at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:138)
      at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425)
      at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438)
      at org.eclipse.gef.tools.CreationTool.performCreation(CreationTool.java:269)
      at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:189)
      at org.eclipse.gef.tools.AbstractTool.mouseMove(AbstractTool.java:1159)
      at org.eclipse.gef.EditDomain.mouseMove(EditDomain.java:287)
      at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseMoved(DomainEventDispatcher.java:365)
      at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseMove(LightweightSystem.java:543)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

      Session Data:
      eclipse.buildId=unknown
      java.version=1.8.0_92
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments: -product com.jboss.devstudio.core.product
      Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pszuster Pablo Szuster
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: