News and Events

News and Events

Strange “error executing scaffolder” error in Mulesoft Anypoint Studio 7.3

Mulesoft Anypoint Studio 7.3 Error:¬†error executing scaffolder, which is preventing auto-generation of flows from RAML. If we navigate to “.metadata/.log” log file, we will find the error below. The last like of the error log is what made me copy my listener declaration into api.xml file to get this working again. This has no explanation since nothing has changed in code except RAML definition itself. Note that out of 9 application, 5 had no issues.

 

!ENTRY org.mule.tooling.core 4 0 2018-11-13 17:16:02.142!ENTRY org.mule.tooling.core 4 0 2018-11-13 17:16:02.142!MESSAGE There was a problem when trying to generate flows!STACK 0java.lang.RuntimeException: Error executing scaffolder at org.mule.tools.apikit.ScaffolderAPI.execute(ScaffolderAPI.java:87) at org.mule.tools.apikit.ScaffolderAPI.run(ScaffolderAPI.java:66) at org.mule.tooling.apikit.common.scaffolder.DefaultApikitScaffolder.doExecute(DefaultApikitScaffolder.java:80) at org.mule.tooling.apikit.common.scaffolder.DefaultApikitScaffolder.execute(DefaultApikitScaffolder.java:44) at org.mule.tooling.apikit.common.scaffolder.VelocityProcessingScaffolderDecorator.execute(VelocityProcessingScaffolderDecorator.java:28) at org.mule.tooling.apikit.common.scaffolder.FlowGenerator.run(FlowGenerator.java:60) at org.mule.tooling.apikit.common.handlers.AbstractGenerateFlowsHandler.doExecute(AbstractGenerateFlowsHandler.java:116) at org.mule.tooling.apikit.common.handlers.AbstractGenerateFlowsHandler.access$0(AbstractGenerateFlowsHandler.java:96) at org.mule.tooling.apikit.common.handlers.AbstractGenerateFlowsHandler$1.run(AbstractGenerateFlowsHandler.java:59) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:483) at org.mule.tooling.apikit.common.handlers.AbstractGenerateFlowsHandler.execute(AbstractGenerateFlowsHandler.java:66) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92) at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431) at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446) at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5348) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151) 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:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:653) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) at org.eclipse.equinox.launcher.Main.run(Main.java:1499) at org.eclipse.equinox.launcher.Main.main(Main.java:1472)Caused by: java.lang.IllegalStateException: An HTTP Listener configuration is mandatory.