title: Why is sonar failing during SonarQube Scanner execution?
body: <p>I am trying to create a Jenkins build to generate reports for the client part of my app (eslint and test coverage).</p>
  
  <p>I have other jobs that generate sonar reports for different projects on the same Jenkins and Sonar. To generate the lcov.info file I use mocha with lcov reporter.</p>
  
  <p>One of the diferences is that for this project I use react with ES6 with babel, all the others are angular ES5.</p>
  
  <p>My command to create sonar status looks like this:</p>
  
  <pre><code>C:\Programs\sonarqube-4.5.6\bin\sonar-runner.bat -Dsonar.projectBaseDir=%WORKSPACE% -Dproject.settings=D:\jenkins.space\jobs\XXX_Sonar_Runner\workspace\XXX_sonar.properties -Dsonar.branch=DEV_Jenkins -Dsonar.javascript.lcov.reportPath=XXX.Web/app/coverage/lcov.info -Dsonar.verbose=true -X &amp;&amp; EXIT 0
  </code></pre>
  
  <p>If I remove the "-Dsonar.javascript.lcov.reportPath=XXX.Web/app/coverage/lcov.info" it works fine, and generates the rest of the results.</p>
  
  <p>Do you have any idea why it fails?</p>
  
  <p>The log looks like this:</p>
  
  <pre><code>    17:32:05.015 INFO  - Sensor org.sonar.plugins.javascript.lcov.UTCoverageSensor@6e7302d...
      17:32:05.016 INFO  - Analysing D:\jenkins.space\jobs\XXX_Sonar_Runner\workspace\XXX.Web\app\coverage\lcov.info
      17:32:05.026 DEBUG - Release semaphore on project : org.sonar.api.resources.Project@406ba622[id=14667,key=snapon:xxx:DEV_Jenkins,qualifier=TRK], with key batch-snapon:xxx:DEV_Jenkins
      INFO: ------------------------------------------------------------------------
      INFO: EXECUTION FAILURE
      INFO: ------------------------------------------------------------------------
      INFO: Total time: 51.057s
      INFO: Final Memory: 15M/236M
      INFO: ------------------------------------------------------------------------
      ERROR: Error during SonarQube Scanner execution
      java.lang.ArrayIndexOutOfBoundsException: 3
      at org.sonar.plugins.javascript.lcov.LCOVParser.parse(LCOVParser.java:104)
  at org.sonar.plugins.javascript.lcov.LCOVParser.&lt;init&gt;(LCOVParser.java:54)
      at org.sonar.plugins.javascript.lcov.LCOVParser.create(LCOVParser.java:68)
      at org.sonar.plugins.javascript.lcov.UTCoverageSensor.saveMeasureFromLCOVFile(UTCoverageSensor.java:112)
      at org.sonar.plugins.javascript.lcov.UTCoverageSensor.analyse(UTCoverageSensor.java:85)
      at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:79)
      at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70)
      at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:119)
      at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:194)
      at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:233)
      at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:228)
      at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:221)
      at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:64)
      at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51)
      at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:125)
      at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:93)
      at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:78)
      at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:173)
      at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)
      at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
      at org.sonar.runner.batch.BatchIsolatedLauncher.executeOldVersion(BatchIsolatedLauncher.java:86)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.sonar.runner.impl.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:61)
      at com.sun.proxy.$Proxy0.executeOldVersion(Unknown Source)
      at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:283)
      at org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:165)
      at org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:152)
      at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:118)
      at org.sonarsource.scanner.cli.Main.execute(Main.java:80)
      at org.sonarsource.scanner.cli.Main.main(Main.java:66)
  </code></pre>