Project: mulestudio
Issue STUDIO-3485: APIKIT: Drag and Dropping apikit router to the flow is breaking the project
After drag and droping apikit router into a project the following error is displayed and no other component can be drag and drop after that. {code} java.lang.RuntimeException: Unknown node definition: http://www.mulesoft.org/schema/mule/apikit/router org.mule.tooling.core.module.MuleModuleManager.getDefinition(MuleModuleManager.java:643) org.mule.tooling.core.module.MuleModuleManager.getDefinition(MuleModuleManager.java:622) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.getDefinition(CompartmentLaneEditPart.java:357) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.buildResponseModel(CompartmentLaneEditPart.java:284) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.buildDisplayModel(CompartmentLaneEditPart.java:177) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.getModelChildren(CompartmentLaneEditPart.java:142) org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:762) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.refreshChildren(CompartmentLaneEditPart.java:154) org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.update(CompartmentLaneEditPart.java:106) java.util.Observable.notifyObservers(Observable.java:142) org.mule.tooling.model.messageflow.decorator.EntityDecorator.fireEvent(EntityDecorator.java:69) org.mule.tooling.model.messageflow.decorator.CompartmentLaneDecorator.addEntity(CompartmentLaneDecorator.java:84) org.mule.tooling.messageflow.command.NodeCreateCommand.addCreatedNode(NodeCreateCommand.java:48) org.mule.tooling.messageflow.command.PatternCreateCommand.execute(PatternCreateCommand.java:74) org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:199) org.eclipse.gef.dnd.AbstractTransferDropTargetListener.handleDrop(AbstractTransferDropTargetListener.java:339) org.eclipse.gef.dnd.TemplateTransferDropTargetListener.handleDrop(TemplateTransferDropTargetListener.java:115) org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183) org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209) org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) org.eclipse.swt.dnd.DropTarget.drop(DropTarget.java:726) org.eclipse.swt.dnd.DropTarget.performDragOperation(DropTarget.java:740) org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:454) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSView.dragImage(NSView.java:150) org.eclipse.swt.dnd.DragSource.drag(DragSource.java:397) org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:218) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) org.eclipse.equinox.launcher.Main.run(Main.java:1438){code}
Story points: 1