mule - Unable to create MUnit test or suite -


when trying create munit test in anypoint studio right clicking on flow selecting 'create new text.xml suite' see following dialog appear:

screen shot of dialog appears after trying create test suite

this has disadvantage of not offering stack trace follow, however, looking in error log can see following stack trace.

java.lang.nullpointerexception @ org.apache.velocity.runtime.runtimeinstance.parse(runtimeinstance.java:1003) @ org.apache.velocity.runtime.runtimeinstance.parse(runtimeinstance.java:972) @ org.apache.velocity.runtime.runtimesingleton.parse(runtimesingleton.java:265) @ org.apache.velocity.app.velocity.evaluate(velocity.java:274) @ org.mule.tooling.ui.contribution.munit.munitresourceutils.createxmlconfigurationfromtemplate(munitresourceutils.java:214) @ org.mule.tooling.ui.contribution.munit.actions.createtestsuiteaction.createmunitfile(createtestsuiteaction.java:86) @ org.mule.tooling.ui.contribution.munit.actions.createtestsuiteaction.createandopenmunitfile(createtestsuiteaction.java:73) @ org.mule.tooling.ui.contribution.munit.actions.createtestsuiteaction.dorun(createtestsuiteaction.java:59) @ org.mule.tooling.ui.contribution.munit.actions.abstractfloweditormunitaction.run(abstractfloweditormunitaction.java:105) @ org.eclipse.jface.action.action.runwithevent(action.java:473) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:595) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:511) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:420) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.display.sendevent(display.java:4362) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1113) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4180) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3769) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$4.run(partrenderingengine.java:1127) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:337) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:1018) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:156) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:694) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:337) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:606) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:150) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:139) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:134) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:104) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:380) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:235) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:669) @ org.eclipse.equinox.launcher.main.basicrun(main.java:608) @ org.eclipse.equinox.launcher.main.run(main.java:1515) 

i using munit version 1.4.3, anypoint studio version 6.2.5 , java 1.8.0_131

has else faced able suggest solution?

could please verify have maven correctly install , working ? also, can check have munit plugin install in anypoint studio ? check menu >> installation details >> search munit anypoint studio plugin


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -