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 | 4 months ago
  1. 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)
  2. 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)
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)
  6. 0

    Regression after Java Plugin upgrade from 4.1 to 4.2 reproduced with Gradle SQ plugin

    Google Groups | 3 months ago | Valery Yatsynovich
    java.lang.IllegalStateException: No files nor directories > matching '........<some-project-output-path-here>......../resources/test' > at > org.sonar.java.AbstractJavaClasspath.getFilesFromProperty(AbstractJavaClasspath.java:90) > at org.sonar.java.JavaTestClasspath.init(JavaTestClasspath.java:48) > at > org.sonar.java.AbstractJavaClasspath.getElements(AbstractJavaClasspath.java:258) > at > org.sonar.java.SonarComponents.getJavaTestClasspath(SonarComponents.java:126) > at org.sonar.java.JavaSquid.<init>(JavaSquid.java:79) > at > org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:86) > at > org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57) > at > org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) > at > org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) > at > org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) > at > org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) > at > org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) > at > org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) > at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)

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