Error code 1 while executing Gatling scala script in intellij

Hi all

I am getting the below error while executing Gatling scala script in Intellij,could someone help me on this?TIA

Exception in thread “main” java.lang.ExceptionInInitializerError

at Engine$.delayedEndpoint$Engine$1(Engine.scala:7)

at Engine$delayedInit$body.apply(Engine.scala:4)

at scala.Function0.apply$mcV$sp(Function0.scala:39)

at scala.Function0.apply$mcV$sp$(Function0.scala:39)

at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)

at scala.App.$anonfun$main$1$adapted(App.scala:80)

at scala.collection.immutable.List.foreach(List.scala:392)

at scala.App.main(App.scala:80)

at scala.App.main$(App.scala:78)

at Engine$.main(Engine.scala:4)

at Engine.main(Engine.scala)

Caused by: java.lang.NullPointerException

at io.gatling.commons.util.PathHelper$.url2path(PathHelper.scala:34)

at IDEPathHelper$.(IDEPathHelper.scala:7)

at IDEPathHelper$.(IDEPathHelper.scala)

… 11 more

Process finished with exit code 1

missing gatling.conf file in src/test/resources

Hi Stephane

Thanks for your reply.
Sorry I am a newbie, how do we add it?

Many Thanks