The simulation stops with an error after 24h

59 views
Skip to first unread message

Sebastien

unread,
Apr 9, 2013, 8:23:51 AM4/9/13
to gat...@googlegroups.com
Hi,

I launched a simulation and after 24h and 10s it stops with the following error.
I already increased the simulation timout configuration property.
Do you know why this simuation stops.

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.excilys.ebi.gatling.core.result.reader.DataReader$.newInstance(DataReader.scala:26)
        at com.excilys.ebi.gatling.app.Gatling.start(Gatling.scala:104)
        at com.excilys.ebi.gatling.app.Gatling$.fromMap(Gatling.scala:54)
        at com.excilys.ebi.gatling.app.Gatling$.runGatling(Gatling.scala:73)
        at com.excilys.ebi.gatling.app.Gatling$.main(Gatling.scala:49)
        at com.excilys.ebi.gatling.app.Gatling.main(Gatling.scala)
Caused by: scala.MatchError: ACTION (of class java.lang.String)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader$$anonfun$com$excilys$ebi$gatling$charts$result$reader$FileDataReader$$process$3.apply(FileDataReader.scala:116)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader$$anonfun$com$excilys$ebi$gatling$charts$result$reader$FileDataReader$$process$3.apply(FileDataReader.scala:115)
        at scala.collection.Iterator$class.foreach(Iterator.scala:772)
        at scala.collection.Iterator$$anon$22.foreach(Iterator.scala:451)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader.com$excilys$ebi$gatling$charts$result$reader$FileDataReader$$process(FileDataReader.scala:115)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader$$anonfun$12.apply(FileDataReader.scala:128)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader$$anonfun$12.apply(FileDataReader.scala:128)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader.doWithInputFiles(FileDataReader.scala:64)
        at com.excilys.ebi.gatling.charts.result.reader.FileDataReader.<init>(FileDataReader.scala:128)
        ... 10 more

Regards,
Sébastien.


Stéphane Landelle

unread,
Apr 9, 2013, 8:45:15 AM4/9/13
to gat...@googlegroups.com
Hi Sébastien,

There's actually 2 questions:
  • Why did the Simulation stopped after 24h? The default simulation timeout is indeed 24h. You seem to say that you overrode this property. Are you sure you did it properly? Are you sure that you don't have an old gatling.conf whose format doesn't match the default one shipped in gatling-core (unzip the jar to get it)?
  • Why this stacktrace? This is a bug caused by the last record being truncated because your simulation timed out. I've just fixed it: https://github.com/excilys/gatling/issues/1074
Cheers,

Stéphane


2013/4/9 Sebastien <sang...@gmail.com>


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sebastien

unread,
Apr 9, 2013, 10:05:20 AM4/9/13
to gat...@googlegroups.com
Hi Stéphane,

You're right, I did a mistake on the Gatling configuration file, so the simulation was stopped as configured (after 24h).
I thought the error caused the simulation stop, but actually not.

Thanks,
Sébastien.

Stéphane Landelle

unread,
Apr 9, 2013, 12:34:53 PM4/9/13
to gat...@googlegroups.com
Glad to hear.
The fix for the stacktrace will be shipped in 1.4.7.


2013/4/9 Sebastien <sang...@gmail.com>
Reply all
Reply to author
Forward
0 new messages