excilys/gatling — Issue #374: NoSuchElementException when only one simulation file
Author: HugoCrd
Created: 2012-01-27 10:49:22+00:00
State: open
Labels: Bug - Can Wait, Module - App

I've got one scala file into the simulations folder.
Gatling fail starting, throwing the following NoSuchElementException.
This does not happen with more than one simulation file.

Exception in thread "main" java.util.NoSuchElementException: next on empty iterator
at scala.collection.Iterator$$anon$3.next(Iterator.scala:28)
at scala.collection.Iterator$$anon$3.next(Iterator.scala:26)
at scala.collection.Iterator$$anon$22.next(Iterator.scala:395)
at scala.collection.Iterator$Partner$1.next(Iterator.scala:946)
at com.excilys.ebi.gatling.app.Gatling$.displayMenuAndRun(Gatling.scala:118)
at com.excilys.ebi.gatling.app.Gatling$.runGatling(Gatling.scala:81)
at com.excilys.ebi.gatling.app.Gatling$.main(Gatling.scala:63)
at com.excilys.ebi.gatling.app.Gatling.main(Gatling.scala)