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)

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

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

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

    Root Cause Analysis

    1. 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)

      at org.sonar.batch.task.ScanTask.execute()
    2. org.sonar.batch
      ScanTask.execute
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
      1 frame