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

Google Groups | Imre Lengyel | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    SQ runner fails with Exception on parsing a code contract interface

    Google Groups | 7 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