org.sonar.runner.impl.RunnerException: Unable to execute Sonar at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)

Google Groups | Imre Lengyel | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SQ runner fails with Exception on parsing a code contract interface

    Google Groups | 9 months ago | Imre Lengyel
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Can't create measure for line 165 for file 'C:/<some_path>/IService_Contract.cs' with 140 lines at org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine(CoverageExclusions.java:158) at org.sonar.batch.sensor.coverage.CoverageExclusions.validate(CoverageExclusions.java:129) at org.sonar.batch.deprecated.DeprecatedSensorContext.saveMeasure(DeprecatedSensorContext.java:205) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyze(CoverageReportImportSensor.java:78) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyse(CoverageReportImportSensor.java:59) at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)

      at org.sonar.batch.phases.SensorsExecutor.execute()
    2. SonarQube
      SensorsExecutor.execute
      1. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
      1 frame