# Getting error while generating reports using -ro option

**URL:** <https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996>\
**Category:** Gatling (Open-Source)\
**Created:** [February 23, 2021, 12:25pm UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996 "2021-02-23T12:25:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramandeep\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ramandeep\_Singh](https://community.gatling.io/u/Ramandeep_Singh)\
**Post date:** [February 23, 2021, 12:25pm UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996/1 "2021-02-23T12:25:48Z")

</div>

Hello All,

I have some multiple simulation.log files generated from the distributed loadtest from Gatling.  
I want to generate a single report or merge the reports to make it single report.  
Therefore, I have placed all the simulation.log files inside a folder and executing the below command:  
**gatling -ro /Users/xxxx/Documents/random/rans/**

But, it seems that the execution is giving error as below:

_gatling -ro /Users/xxxxxxxx/Documents/random/rans/_

_GATLING\_HOME is set to /Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1_  
_13:04:25,065 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]_  
_13:04:25,066 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]_  
_13:04:25,067 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]_  
_13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath._  
_13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/workspace/qa\_checkout\_nonfunctional\_tests/logback.xml]_  
_13:04:25,067 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]_  
_13:04:25,160 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set_  
_13:04:25,160 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]_  
_13:04:25,167 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]_  
_13:04:25,175 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property_  
_13:04:25,228 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN_  
_13:04:25,228 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]_  
_13:04:25,228 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration._  
_13:04:25,230 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@dd3b207 - Registering current configuration as safe fallback point_

_13:04:53.119 [ERROR] i.g.c.ZincCompiler$ - Error while emitting completeScript_  
_Method too large: completeScript. ()V_  
_13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting filteredScript_  
_Method too large: filteredScript. ()V_  
_13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting mytoysPerformance_  
_Method too large: mytoysPerformance. ()V_  
_13:04:53.120 [ERROR] i.g.c.ZincCompiler$ - Error while emitting sixthAprilScript_  
_Method too large: sixthAprilScript. ()V_  
_13:04:53.128 [ERROR] i.g.c.ZincCompiler$ - four errors found_  
_13:04:53.131 [ERROR] i.g.c.ZincCompiler$ - Compilation crashed_  
_sbt.internal.inc.CompileFailed: null_  
_at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:253)_  
_at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:122)_  
_at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:95)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:91)_  
_at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:186)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3$adapted(MixedAnalyzingCompiler.scala:77)_  
_at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:215)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:77)_  
_at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:146)_  
_at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:343)_  
_at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:343)_  
_at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:120)_  
_at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:100)_  
_at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:180)_  
_at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:98)_  
_at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:102)_  
_at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:155)_  
_at sbt.internal.inc.Incremental$.compile(Incremental.scala:92)_  
_at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:75)_  
_at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:348)_  
_at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:301)_  
_at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:168)_  
_at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:248)_  
_at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:74)_  
_at io.gatling.compiler.ZincCompiler$.doCompile(ZincCompiler.scala:211)_  
_at io.gatling.compiler.ZincCompiler$.delayedEndpoint$io$gatling$compiler$ZincCompiler$1(ZincCompiler.scala:216)_  
_at io.gatling.compiler.ZincCompiler$delayedInit$body.apply(ZincCompiler.scala:39)_  
_at scala.Function0.apply$mcV$sp(Function0.scala:39)_  
_at scala.Function0.apply$mcV$sp$(Function0.scala:39)_  
_at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)_  
_at scala.App.$anonfun$main$1$adapted(App.scala:80)_  
_at scala.collection.immutable.List.foreach(List.scala:392)_  
_at scala.App.main(App.scala:80)_  
_at scala.App.main$(App.scala:78)_  
_at io.gatling.compiler.ZincCompiler$.main(ZincCompiler.scala:39)_  
_at io.gatling.compiler.ZincCompiler.main(ZincCompiler.scala)_  
_13:04:53,473 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]_  
_13:04:53,474 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]_  
_13:04:53,475 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]_  
_13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on xxxxxxxx classpath._  
_13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/workspace/project\_name/logback.xml]_  
_13:04:53,475 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/xxxxxxxx/Downloads/gatling-charts-highcharts-bundle-3.3.1/conf/logback.xml]_  
_13:04:53,533 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set_  
_13:04:53,533 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]_  
_13:04:53,537 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]_  
_13:04:53,543 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property_  
_13:04:53,584 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN_  
_13:04:53,584 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]_  
_13:04:53,584 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration._  
_13:04:53,585 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4671e53b - Registering current configuration as safe fallback point_

_Parsing log file(s)…_  
_Parsing log file(s) done_  
_Generating reports…_  
_Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: Index -69 out of bounds for length 1000_  
_at io.gatling.charts.stats.buffers.SessionDeltaBuffer.$anonfun$distribution$5(SessionDeltaPerSecBuffers.scala:63)_  
_at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)_  
_at scala.collection.mutable.HashMap.$anonfun$foreach$1(HashMap.scala:149)_  
_at scala.collection.mutable.HashTable.foreachEntry(HashTable.scala:237)_  
_at scala.collection.mutable.HashTable.foreachEntry$(HashTable.scala:230)_  
_at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:44)_  
_at scala.collection.mutable.HashMap.foreach(HashMap.scala:149)_  
_at scala.collection.TraversableLike.map(TraversableLike.scala:238)_  
_at scala.collection.TraversableLike.map$(TraversableLike.scala:231)_  
_at scala.collection.AbstractTraversable.map(Traversable.scala:108)_  
_at io.gatling.charts.stats.buffers.SessionDeltaBuffer.distribution(SessionDeltaPerSecBuffers.scala:60)_  
_at io.gatling.charts.stats.LogFileReader.numberOfActiveSessionsPerSecond(LogFileReader.scala:197)_  
_at io.gatling.charts.report.AllSessionsReportGenerator.generate(AllSessionsReportGenerator.scala:32)_  
_at io.gatling.charts.report.ReportsGenerator.$anonfun$generateFor$2(ReportsGenerator.scala:62)_  
_at io.gatling.charts.report.ReportsGenerator.$anonfun$generateFor$2$adapted(ReportsGenerator.scala:62)_  
_at scala.collection.immutable.List.foreach(List.scala:392)_  
_at io.gatling.charts.report.ReportsGenerator.generateFor(ReportsGenerator.scala:62)_  
_at io.gatling.app.RunResultProcessor.generateReports(RunResultProcessor.scala:62)_  
_at io.gatling.app.RunResultProcessor.processRunResult(RunResultProcessor.scala:40)_  
_at io.gatling.app.Gatling$.start(Gatling.scala:88)_  
_at io.gatling.app.Gatling$.fromArgs(Gatling.scala:46)_  
_at io.gatling.app.Gatling$.main(Gatling.scala:38)_  
_at io.gatling.app.Gatling.main(Gatling.scala)_

Could someone please guide me whats wrong here?

Regards,  
Ramandeep Singh

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 23, 2021, 1:16pm UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996/2 "2021-02-23T13:16:04Z")

</div>

As requested in this [group’s terms](https://groups.google.com/g/gatling):

- **Make sure you’re using an up-to-date Gatling version (you’re using 3.3.1, latest is 3.5.1)**
- **Provide a** **Short, Self Contained, Correct (Compilable), Example (see** **[http://sscce.org/](http://sscce.org/))**

---

<div class="post-metadata">

**Author:** ![Ramandeep\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ramandeep\_Singh](https://community.gatling.io/u/Ramandeep_Singh)\
**Post date:** [February 24, 2021, 7:41am UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996/3 "2021-02-24T07:41:18Z")

</div>

When I am trying with the latest Gatling version (3.5.1), I am getting NumberFormatException:  
**Command:** _ **gatling -ro /folderOfSimulationLogs/** _

Exception in thread “main” java.lang.NumberFormatException: For input string: “START”

But on the other hand, with Gatling version 3.3.1, I get some other Exceptions, like as mentioned below:

08:32:39.892 [ERROR] i.g.c.ZincCompiler$ - Compilation crashed

sbt.internal.inc.CompileFailed: null

…

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: Index -69 out of bounds for length 1000

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [February 24, 2021, 8:20am UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996/4 "2021-02-24T08:20:50Z")

</div>

Log format is different, you can’t have Gatling 3.5 generate reports from log files that were generated from Gatling 3.3.

---

<div class="post-metadata">

**Author:** ![Ramandeep\_Singh](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ramandeep\_Singh](https://community.gatling.io/u/Ramandeep_Singh)\
**Post date:** [February 24, 2021, 9:54am UTC](https://community.gatling.io/t/getting-error-while-generating-reports-using-ro-option/5996/5 "2021-02-24T09:54:22Z")

</div>

Thanks Stéphane Landelle, it worked. 🙂
