gatling 2.2.1 exception during initialization

Hi,

We are running Gatling 2.2.1 release and see this exception for some simulations only (not always).

In the middle of the simulation is a frame referring to io.gatling.http.ahc.HttpEngine.warmpUp(HttpEngine.scala:96)

Could this exception be due to not being able to contact whatever URL is being passed into warmpUP method?

If so, is there a way to disable the warm up or point the warm up to a different URL?

Thanks

Sajjad

GATLING_HOME is set to /home/perf/gatling-charts-highcharts-bundle-2.2.1
13:53:03.280 [WARN ] i.g.c.ZincCompiler$ - Pruning sources from previous analysis, due to incompatible CompileSetup.
13:53:21.065 [WARN ] i.n.u.c.DefaultPromise - An exception was thrown by org.asynchttpclient.netty.request.NettyRequestSender$1.operationComplete()
java.lang.NullPointerException: timeoutsHolder
at org.asynchttpclient.util.Assertions.assertNotNull(Assertions.java:23)
at org.asynchttpclient.netty.request.NettyChannelConnector.(NettyChannelConnector.java:54)
at org.asynchttpclient.netty.request.NettyRequestSender$1.onSuccess(NettyRequestSender.java:281)
at org.asynchttpclient.netty.request.NettyRequestSender$1.onSuccess(NettyRequestSender.java:276)
at org.asynchttpclient.netty.SimpleFutureListener.operationComplete(SimpleFutureListener.java:24)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:683)
at io.netty.util.concurrent.DefaultPromise.notifyLateListener(DefaultPromise.java:624)
at io.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:139)
at io.netty.util.concurrent.DefaultPromise.addListener(DefaultPromise.java:33)
at org.asynchttpclient.netty.request.NettyRequestSender.sendRequestWithNewChannel(NettyRequestSender.java:276)
at org.asynchttpclient.netty.request.NettyRequestSender.sendRequestWithCertainForceConnect(NettyRequestSender.java:136)
at org.asynchttpclient.netty.request.NettyRequestSender.sendRequest(NettyRequestSender.java:107)
at org.asynchttpclient.DefaultAsyncHttpClient.execute(DefaultAsyncHttpClient.java:220)
at org.asynchttpclient.DefaultAsyncHttpClient.executeRequest(DefaultAsyncHttpClient.java:188)
at org.asynchttpclient.DefaultAsyncHttpClient.executeRequest(DefaultAsyncHttpClient.java:210)
at io.gatling.http.ahc.HttpEngine.warmpUp(HttpEngine.scala:96)
at io.gatling.http.protocol.HttpProtocol$$anon$1.io$gatling$http$protocol$HttpProtocol$$anon$1$$$anonfun$1(HttpProtocol.scala:62)
at io.gatling.core.protocol.ProtocolComponentsRegistry.comps$1(Protocol.scala:59)
at io.gatling.core.protocol.ProtocolComponentsRegistry.io$gatling$core$protocol$ProtocolComponentsRegistry$$$anonfun$4(Protocol.scala:61)
at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:194)
at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:80)
at io.gatling.core.protocol.ProtocolComponentsRegistry.components(Protocol.scala:61)
at io.gatling.http.action.HttpActionBuilder.lookUpHttpComponents(HttpActionBuilder.scala:25)
at io.gatling.http.action.sync.HttpRequestActionBuilder.build(HttpRequestActionBuilder.scala:33)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ChainBuilder.build(ChainBuilder.scala:30)
at io.gatling.core.action.builder.IfBuilder.build(IfBuilder.scala:33)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ChainBuilder.build(ChainBuilder.scala:30)
at io.gatling.core.action.builder.SwitchBuilder.io$gatling$core$action$builder$SwitchBuilder$$$anonfun$2(SwitchBuilder.scala:33)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
at scala.collection.immutable.List.map(List.scala:285)
at io.gatling.core.action.builder.SwitchBuilder.build(SwitchBuilder.scala:35)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ChainBuilder.build(ChainBuilder.scala:30)
at io.gatling.core.action.builder.LoopBuilder.build(LoopBuilder.scala:43)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ChainBuilder.build(ChainBuilder.scala:30)
at io.gatling.core.action.builder.IfBuilder.io$gatling$core$action$builder$IfBuilder$$$anonfun$1(IfBuilder.scala:34)
at scala.Option.map(Option.scala:146)
at io.gatling.core.action.builder.IfBuilder.build(IfBuilder.scala:34)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ChainBuilder.build(ChainBuilder.scala:30)
at io.gatling.core.action.builder.LoopBuilder.build(LoopBuilder.scala:43)
at io.gatling.core.structure.StructureBuilder$class.io$gatling$core$structure$StructureBuilder$class$$$anonfun$1(StructureBuilder.scala:34)
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.foldLeft(List.scala:84)
at io.gatling.core.structure.StructureBuilder$class.build(StructureBuilder.scala:33)
at io.gatling.core.structure.ScenarioBuilder.build(ScenarioBuilder.scala:38)
at io.gatling.core.structure.PopulationBuilder.build(ScenarioBuilder.scala:101)
at io.gatling.core.scenario.SimulationParams.io$gatling$core$scenario$SimulationParams$$$anonfun$13(Simulation.scala:169)
at scala.collection.immutable.List.map(List.scala:277)
at io.gatling.core.scenario.SimulationParams.scenarios(Simulation.scala:169)
at io.gatling.app.Gatling.run(Gatling.scala:102)
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$.fromArgs(Gatling.scala:49)
at io.gatling.app.Gatling$.main(Gatling.scala:43)
at io.gatling.app.Gatling.main(Gatling.scala)
Simulation com.XXXXXXSimulation started…

Should be fixed with https://github.com/AsyncHttpClient/async-http-client/issues/1180