Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3090

NPE - New Fuse Transformation Wizard cannot be finished

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.1.0
    • 11.1.0.AM3
    • Data Transformation
    • None

      If I try to create a new data transformation (XML -> JSON), I'm unable to successfully finish the wizard (see the following error).

      eclipse.buildId=12.9.0.AM3-v20180906-1322-B3331
      java.version=1.8.0_162
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization C:\dev\jbds-installer\devstudio-12.9.0.AM3\target/pluginCustomization.ini
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization C:\dev\jbds-installer\devstudio-12.9.0.AM3\target/pluginCustomization.ini
      
      org.jboss.tools.fuse.transformation.editor
      Error
      Tue Sep 11 14:12:32 CEST 2018
      Unexpected error: null
      
      java.lang.NullPointerException
      	at javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:95)
      	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:204)
      	at javax.xml.bind.ContextFinder.find(ContextFinder.java:375)
      	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
      	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)
      	at org.jboss.tools.fuse.transformation.core.dozer.DozerMapperConfiguration.getJAXBContext(DozerMapperConfiguration.java:239)
      	at org.jboss.tools.fuse.transformation.core.dozer.DozerMapperConfiguration.saveConfig(DozerMapperConfiguration.java:567)
      	at org.jboss.tools.fuse.transformation.editor.wizards.NewTransformationWizard$1.run(NewTransformationWizard.java:283)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:974)
      	at org.jboss.tools.fuse.transformation.editor.wizards.NewTransformationWizard.performFinish(NewTransformationWizard.java:329)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:772)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:411)
      	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
      	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4145)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3958)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3561)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      	at org.eclipse.jface.window.Window.open(Window.java:794)
      	at org.jboss.tools.fuse.transformation.extensions.DataMapperEndpointFigureFeature.createNode(DataMapperEndpointFigureFeature.java:50)
      	at org.fusesource.ide.camel.editor.features.create.ext.CreateFigureFeature.create(CreateFigureFeature.java:347)
      	at org.fusesource.ide.camel.editor.features.create.ext.CreateEndpointFigureFeature.create(CreateEndpointFigureFeature.java:95)
      	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:128)
      	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:488)
      	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:97)
      	at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:139)
      	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:224)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4145)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3958)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3561)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:625)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:560)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	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:656)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
      

              Unassigned Unassigned
              tsedmik Tomáš Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: