-ro ( reports only) is not working.

Hi team,

Gettting following error once i run “gatling.bat -ro reportsOnly” where reportsOnly is folder in "GATLING_HOME/results

Exception in thread “main” java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at io.gatling.core.result.reader.DataReader$.newInstance(DataReader.scala:31)
at io.gatling.app.Gatling.start(Gatling.scala:77)
at io.gatling.app.Gatling$.fromArgs(Gatling.scala:59)
at io.gatling.app.Gatling$.main(Gatling.scala:44)
at io.gatling.app.Gatling.main(Gatling.scala)
Caused by: java.lang.NumberFormatException: For input string: “”
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at scala.collection.immutable.StringLike$class.toLong(StringLike.scala:276)
at scala.collection.immutable.StringOps.toLong(StringOps.scala:30)
at io.gatling.charts.result.reader.FileDataReader$$anonfun$io$gatling$charts$result$reader$FileDataReader$$firstPass$1.apply(FileDataReader.sc
ala:90)
at io.gatling.charts.result.reader.FileDataReader$$anonfun$io$gatling$charts$result$reader$FileDataReader$$firstPass$1.apply(FileDataReader.sc
ala:83)
at scala.collection.Iterator$class.foreach(Iterator.scala:742)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
at io.gatling.charts.result.reader.FileDataReader.io$gatling$charts$result$reader$FileDataReader$$firstPass(FileDataReader.scala:83)
at io.gatling.charts.result.reader.FileDataReader$$anonfun$6.apply(FileDataReader.scala:123)
at io.gatling.charts.result.reader.FileDataReader$$anonfun$6.apply(FileDataReader.scala:123)
at io.gatling.charts.result.reader.FileDataReader.doWithInputFiles(FileDataReader.scala:65)
at io.gatling.charts.result.reader.FileDataReader.(FileDataReader.scala:123)
… 9 more

Regards
Ajith shetty

You’re probably trying to user Gatling 2.2 to parse a log file produced with Gatling 2.1 or vice versa.