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

Cannot create a new Fuse Transformation Test

    Details

    • Steps to Reproduce:
      Hide
      1. import 'starter' project from https://github.com/jbosstools/jbosstools-fuse/tree/master/examples/transformation/starter
      2. create a new Data Transformation
      3. modify the Camel Route (connect Data Transformation node)
      4. create a new Data Transformation test
      Show
      import 'starter' project from https://github.com/jbosstools/jbosstools-fuse/tree/master/examples/transformation/starter create a new Data Transformation modify the Camel Route (connect Data Transformation node) create a new Data Transformation test
    • Release Notes Text:
      fixed Nullpointer Exception when creating a Fuse Transformation Test

      Description

      I'm unable to finish New Fuse Transformation Test wizard (see attached video). The following error occurs.

      null
      org.eclipse.jdt.ui
      Error
      Tue May 09 10:14:19 CEST 2017
      Internal Error
      
      Java Model Exception: Core Exception [code 0] Problem encountered while creating test class.
      	at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:50)
      	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      	at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
      	at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:105)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Caused by: org.eclipse.core.runtime.CoreException: Problem encountered while creating test class.
      	at org.jboss.tools.fuse.transformation.editor.wizards.NewTransformationTestWizard.finishPage(NewTransformationTestWizard.java:83)
      	at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:120)
      	at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
      	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      	at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
      	at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:105)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      
      !SUBENTRY 1 TransformationEditor 4 0 2017-05-09 10:11:58.043
      !MESSAGE Problem encountered while creating test class.
      java.lang.NullPointerException
      	at org.fusesource.ide.camel.editor.utils.MavenUtils.updateMavenDependencies(MavenUtils.java:99)
      	at org.jboss.tools.fuse.transformation.editor.internal.wizards.TransformTestWizardPage.createJavaClass(TransformTestWizardPage.java:263)
      	at org.jboss.tools.fuse.transformation.editor.internal.wizards.TransformTestWizardPage.createType(TransformTestWizardPage.java:356)
      	at org.jboss.tools.fuse.transformation.editor.wizards.NewTransformationTestWizard.finishPage(NewTransformationTestWizard.java:74)
      	at org.eclipse.jdt.internal.ui.wizards.NewElementWizard$2.run(NewElementWizard.java:120)
      	at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
      	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      	at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
      	at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:105)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lhein Lars Heinemann
                Reporter:
                tsedmik Tomáš Sedmík
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: