Reputation: 1026
I have a Gatling CSV feeder reading in circular mode from a 10 lines file and my simulation crashes after a little more than 6,000 sessions with the message:
[ERROR] i.g.a.Gatling$ - Run crashed
java.lang.IllegalStateException: Feeder crashed: j.l.NullPointerException: Cannot invoke "scala.collection.mutable.Map.toMap(scala.$less$colon$less)" because the return value of "scala.collection.convert.AsScalaExtensions$MapHasAsScala.asScala()" is null
Since this was the last feeder added to the simulation I tried commenting it out and the simulation runs to the end. I then tried leave only the part that uses the feeder and comment everything else and it also worked. Putting it all together made the error return.
I'm a bit lost on how to debug this. Can you help me?
I'm running the simulation using maven-gatling-plugin
.
Update: I've tried using a static values instead of retrieving them from a feeder but I still get crashes with "Feeder is now empty". How can I find which feeder is empty?
Upvotes: 0
Views: 249
Reputation: 6623
You're not mentioning the version of Gatling you're using, which might mean you haven't considered your version might be outdated and a fix might be already available. The latest version is 3.8.3. Your issue looks similar to https://github.com/gatling/gatling/issues/4240.
Please first upgrade to 3.8.3. If you still experience an issue, then please report with a proper reproducer.
Upvotes: 0