Hi,
`
“main@1” prio=5 tid=0x1 nid=NA runnable
java.lang.Thread.State: RUNNABLE
at scala.sys.package$.error(package.scala:27)
at myClass
at myClass
at myClass
at myClass
at myClass
- locked <0xe91> (a myPackage.SystemVariables$)
at myClass
at myClass
at myClass
at myClass
at myClass - locked <0xd52> (a myClass)
at myClass
at myClass
at myClass
at myClass
at myClass5)
at myClass
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-1)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at io.gatling.app.Gatling$.io$gatling$app$Gatling$$$anonfun$1(Gatling.scala:41)
at io.gatling.app.Gatling$lambda$1.apply(Gatling.scala:41)
at io.gatling.app.Gatling$lambda$1.apply(Gatling.scala:41)
at io.gatling.app.Gatling.run(Gatling.scala:92)
at io.gatling.app.Gatling.runIfNecessary(Gatling.scala:75)
at io.gatling.app.Gatling.start(Gatling.scala:65)
at io.gatling.app.Gatling$.start(Gatling.scala:57)
at io.gatling.app.Gatling$.fromMap(Gatling.scala:45)
at myClass
at myClass
at myClass
`
As you see Gatling.run section finally capture all exceptions and terminate system - why ?