Maven Archetype - Gatling 1.1.5 - Recorder, Engine Failed to run with Null pointer exception

Hi,

I have created Gatling project, using maven archetype for version 1.1.5.
However when I try to run Recorder/Engine from IDE, seeing following error.

at Recorder$.delayedEndpoint$Recorder$1(Recorder.scala:7)
at Recorder$delayedInit$body.apply(Recorder.scala:4)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at Recorder$.main(Recorder.scala:4)
at Recorder.main(Recorder.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.lang.NullPointerException
at IDEPathHelper$.(IDEPathHelper.scala:7)
at IDEPathHelper$.(IDEPathHelper.scala) … 16 more

Would you please advise, if this is some known issue and has work-around.

This issue not reproducible when using maven archtetype with Gatling version 1.1.2

Thanks,
Raja

Hi,

That’s indeed a bug: https://github.com/gatling/gatling/issues/2698
I have no idea what caused it.

As a workaround, just manually add/copy the missing files in src/test/resources.

Thanks for reporting,