java.lang.IllegalStateException: Can't create measure for line 109 for file 'C:/POC/src/customer_maint/procs/updatecustomer.p' with 100 lines

atlassian.net | 3 months ago
  1. 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
  2. 0

    Getting started - SonarOpenEdge - Confluence

    atlassian.net | 3 months ago
    java.lang.IllegalStateException: Can't create measure for line 109 for file 'C:/POC/src/customer_maint/procs/updatecustomer.p' with 100 lines
  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

    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

    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

    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 109 for file 'C:/POC/src/customer_maint/procs/updatecustomer.p' with 100 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
      GenericCoverageSensor.analyse
      1. org.sonar.plugins.coverage.generic.ReportParser.saveCoverageMeasure(ReportParser.java:321)
      2. org.sonar.plugins.coverage.generic.ReportParser.saveMeasures(ReportParser.java:314)
      3. org.sonar.plugins.coverage.generic.GenericCoverageSensor.loadReport(GenericCoverageSensor.java:133)
      4. org.sonar.plugins.coverage.generic.GenericCoverageSensor.analyseWithLogger(GenericCoverageSensor.java:95)
      5. org.sonar.plugins.coverage.generic.GenericCoverageSensor.analyse(GenericCoverageSensor.java:91)
      5 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:192)
      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:241)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
      3. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
      3 frames
    7. 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
    8. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    9. 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
    10. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
      2 frames
    11. SonarQube Runner - Batch
      BatchIsolatedLauncher.execute
      1. org.sonar.runner.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:67)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    13. SonarQube Runner
      IsolatedLauncherProxy.invoke
      1. org.sonar.runner.impl.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:61)
      1 frame
    14. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    15. SonarQube Runner
      EmbeddedRunner.runAnalysis
      1. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:274)
      2. org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:165)
      3. org.sonar.runner.api.EmbeddedRunner.runAnalysis(EmbeddedRunner.java:152)
      3 frames
    16. org.sonarsource.scanner
      SonarQubeTask.execute
      1. org.sonarsource.scanner.ant.SonarQubeTask.launchAnalysis(SonarQubeTask.java:72)
      2. org.sonarsource.scanner.ant.SonarQubeTask.execute(SonarQubeTask.java:55)
      2 frames
    17. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    19. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:435)
      4. org.apache.tools.ant.Target.performTasks(Target.java:456)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      9. org.apache.tools.ant.Main.runBuild(Main.java:853)
      10. org.apache.tools.ant.Main.startAnt(Main.java:235)
      10 frames
    20. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
      2 frames