Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1051 Rework camel editor / model
  3. FUSETOOLS-1600

Cannot add an Otherwise node inside a Choice container

XMLWordPrintable

    • Sprint 2, 8.0.0 - Sprint 1, 8.0.0 - CR1

      • Create a Route
      • Add a Choice node in the Route container
      • try to add an Otherwise node in Choice Container
        --> nothign happens
        --> stack inlog:
        !ENTRY org.eclipse.graphiti.ui 4 0 2016-01-19 09:42:15.259
        !MESSAGE GFCommandStack.execute(Command) org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
        !STACK 0
        org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
        	at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
        	at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
        	at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
        	at org.fusesource.ide.camel.model.service.core.model.CamelModelElement.<init>(CamelModelElement.java:111)
        	at org.fusesource.ide.camel.editor.features.create.ext.CreateFigureFeature.createNode(CreateFigureFeature.java:222)
        	at org.fusesource.ide.camel.editor.features.create.ext.CreateFigureFeature.create(CreateFigureFeature.java:190)
        	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:121)
        	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:49)
        	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:516)
        	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:90)
        	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.mouseUp(AbstractTool.java:1200)
        	at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)
        	at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)
        	at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)
        	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:220)
        	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
        	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
        	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
        	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
        	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
        	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
        	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
        	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
        	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
        	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
        	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(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:669)
        	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
        	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
        	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
        

              lheinema@redhat.com Lars Heinemann
              apupier@redhat.com Aurélien Pupier
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: