Project: mulestudio
Issue STUDIO-2492: Multiple Runtimes: Unknown node definition when using EE components on a project created with a CE Runtime
Precondition: you should have a Mule Studio workspace where you have installed a CE Mule Server. Steps to reproduce: # Create a project using the CE server. # Switch the project runtime to a EE server. # Try to use any EE-only component (Business Events, JDBC, FTP, Cache) * Nothing will happen visually, the component is not added. An exception is logged in the Error Log (see below) {code}java.lang.RuntimeException: Unknown node definition: http://www.mulesoft.org/schema/mule/ee/tracking/custom-event at org.mule.tooling.core.module.MuleModuleManager.getDefinition(MuleModuleManager.java:638) at org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.buildResponseModel(CompartmentLaneEditPart.java:289) at org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.buildDisplayModel(CompartmentLaneEditPart.java:180) at org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.getModelChildren(CompartmentLaneEditPart.java:146) at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:754) at org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.refreshChildren(CompartmentLaneEditPart.java:158) at org.mule.tooling.messageflow.editpart.CompartmentLaneEditPart.update(CompartmentLaneEditPart.java:110) at java.util.Observable.notifyObservers(Observable.java:142) at org.mule.tooling.model.messageflow.decorator.EntityDecorator.fireEvent(EntityDecorator.java:69) at org.mule.tooling.model.messageflow.decorator.CompartmentLaneDecorator.addEntityBefore(CompartmentLaneDecorator.java:131) at org.mule.tooling.messageflow.command.NodeCreateCommand.addCreatedNode(NodeCreateCommand.java:51) at org.mule.tooling.messageflow.command.PatternCreateCommand.execute(PatternCreateCommand.java:81) at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:197) 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:266) at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:186) at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1201) at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301) at org.mule.tooling.messageflow.editor.MessageFlowEditor$4.mouseUp(MessageFlowEditor.java:601) 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:213) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) 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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408){code}
Story points: 1