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

Google Groups | Imre Lengyel | 4 months ago
  1. 0

    SQ runner fails with Exception on parsing a code contract interface

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

    MSBuild.SonarQube.Runner errors out on running the 'end' process with no details of the problem

    Google Groups | 4 months ago | Spencer
    java.lang.IllegalStateException: Can't create measure for line 703 for file 'C:/ Paylocity/Escher/BusinessFacade/Notification/notification.cs' with 699 lines at org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine(Co verageExclusions.java:158) at org.sonar.batch.sensor.coverage.CoverageExclusions.validate(CoverageE xclusions.java:129) at org.sonar.batch.deprecated.DeprecatedSensorContext.saveMeasure(Deprec atedSensorContext.java:205) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyze(Cov erageReportImportSensor.java:103) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyse(Cov erageReportImportSensor.java:74) at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor. java:58) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:5 0) at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExe cutor.java:83) at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanConta iner.java:189) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC ontainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer .java:127) at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.j ava:265) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScan Container.java:260) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScan Container.java:258) at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanCon tainer.java:250) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC ontainer.java:142) at org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScan Container.java:128) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer .java:127)
  3. 0

    IllegalStateException in Sonar task

    GitHub | 6 months ago | pascalberger
    java.lang.IllegalStateException: Can't create measure for line 31 for file 'D:/BuildAgentTest/_work/1/s/MyFile.cs' with 30 lines 2016-06-07T09:47:36.1321589Z ##[error]at org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine(CoverageExclusions.java:158)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SonarQube analysis failing due to exception in sensor.coverage.CoverageExclusions.validateMaxLine()

    Google Groups | 10 months ago | Peter
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  6. 0

    MSBuild.SonarQube.Runner errors out on running the 'end' process with no details of the problem

    Google Groups | 4 months ago | Spencer
    java.lang.IllegalStateException: Can't create measure for line 703 for file 'C:/ Paylocity/Escher/BusinessFacade/Notification/notification.cs' with 699 lines

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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