-
Bug
-
Resolution: Done
-
Critical
-
9.2.0
-
-
fixed Nullpointer Exception when creating a Fuse Transformation Test
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)