java.lang.IllegalStateException: Can't create measure for line 703 for file 'C:/ Paylocity/Escher/BusinessFacade/Notification/notification.cs' with 699 lines

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
  2. 0

    Error with SonarQube Visual Studio Code Coverage Import

    Stack Overflow | 7 months ago | Jared Holgate
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  3. 0

    SonarQube: Can't create measure for line X for file with file with <X lines

    Stack Overflow | 9 months ago | Christian Rygg
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  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

    Coverage fails with wrong number of lines in OpenEdge

    GitHub | 4 months ago | anujjain1
    java.lang.IllegalStateException: Can't create measure for line 109 for file 'C:/POC/src/customer_maint/procs/updatecustomer.p' with 100 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 703 for file 'C:/ Paylocity/Escher/BusinessFacade/Notification/notification.cs' with 699 lines

      at org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine()
    2. org.sonar.batch
      DeprecatedSensorContext.saveMeasure
      1. org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine(CoverageExclusions.java:158)
      2. org.sonar.batch.sensor.coverage.CoverageExclusions.validate(CoverageExclusions.java:129)
      3. org.sonar.batch.deprecated.DeprecatedSensorContext.saveMeasure(DeprecatedSensorContext.java:205)
      3 frames
    3. org.sonar.plugins
      CoverageReportImportSensor.analyse
      1. org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyze(CoverageReportImportSensor.java:103)
      2. org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyse(CoverageReportImportSensor.java:74)
      2 frames
    4. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
      2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
      3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:189)
      4 frames
    5. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    6. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:265)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:260)
      3. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:258)
      4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:250)
      4 frames
    7. org.sonar.core
      ComponentContainer.startComponents
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      1 frame
    8. SonarQube
      ProjectScanContainer.startComponents
      1. org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScanContainer.java:128)
      1 frame
    9. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      1 frame
    10. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    11. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    12. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:124)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
      2 frames
    13. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    15. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    16. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    17. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)
      2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
      3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
      4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)
      5. org.sonarsource.scanner.cli.Main.main(Main.java:60)
      5 frames