Project: mulestudio
Issue STUDIO-2484: DataMapper: Exception raised when trying to map the MuleMessage Interface
Steps to reproduce: 1.- Create a flow with a DataMapper and open the wizard. 2.- When configuring the wizards select to map a Pojo 3.- Select Java Object and search for the class MuleMessage Interface 4.- Clic OK Issue: the followed exception is raised. {code} java.lang.reflect.InvocationTargetException org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) com.mulesoft.mule.datamapper.ui.wizard.SchemaGeneratorDialog.generateSchema(SchemaGeneratorDialog.java:31) com.mulesoft.mule.datamapper.ui.wizard.BeanIntrospectorDialog.okPressed(BeanIntrospectorDialog.java:138) org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472) org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) com.mulesoft.mule.datamapper.ui.wizard.BeanMetadataPropertiesPanel$1.widgetSelected(BeanMetadataPropertiesPanel.java:108) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) org.eclipse.jface.window.Window.runEventLoop(Window.java:825) org.eclipse.jface.window.Window.open(Window.java:801) com.mulesoft.mule.datamapper.ui.view.DataMapperView.launchDMWizard(DataMapperView.java:568) com.mulesoft.mule.datamapper.ui.view.DataMapperEditPartRequestHandler.handleReadAccessRequest(DataMapperEditPartRequestHandler.java:71) org.mule.tooling.messageflow.editpart.RequestHandlerManager.handleReadAccessRequest(RequestHandlerManager.java:50) org.mule.tooling.messageflow.editpart.EntityEditPart.performRequest(EntityEditPart.java:145) org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194) org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137) org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069) org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525) org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231) org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291) org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 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:369) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:620) org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) org.eclipse.equinox.launcher.Main.run(Main.java:1408) Caused by: java.lang.ExceptionInInitializerError java.lang.Class.forName0(Native Method) java.lang.Class.forName(Class.java:247) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator.h(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator.f(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator.b(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator$Visitor.visit(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObject.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator$Visitor.visit(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObjectRef.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObject.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator$Visitor.visit(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObjectRef.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObject.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator$Visitor.visit(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.model.TypedObjectRef.acceptVisitor(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator.generateObjectSchema(Unknown Source) com.opensys.cloveretl.component.tree.bean.schema.generator.SchemaGenerator.generateSchema(Unknown Source) com.mulesoft.mule.datamapper.ui.wizard.BeanIntrospectorEditor.generateSchema(BeanIntrospectorEditor.java:181) com.mulesoft.mule.datamapper.ui.wizard.BeanIntrospectorDialog$2.generateSchema(BeanIntrospectorDialog.java:141) com.mulesoft.mule.datamapper.ui.wizard.SchemaGeneratorDialog$GenerateSchema.run(SchemaGeneratorDialog.java:52) org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.mule.api.MuleRuntimeException: Couldn't find config via SPI mechanism. Corrupted Mule core jar? org.mule.config.pool.ThreadPoolFactory.newInstance(ThreadPoolFactory.java:57) org.mule.config.ImmutableThreadingProfile.(ImmutableThreadingProfile.java:36) org.mule.api.config.ThreadingProfile.(ThreadingProfile.java:120)	... 21 more {code}
Story points: 8