java.lang.IllegalArgumentException: 47 is not a valid line offset for pointer. File [moduleKey=no_AfterCompile_NormalBuild:no_AfterCompile_NormalBuild:DB96E47F-8CF8-487B-A19C-69BE6EC13F0F, relative=GlobalSuppressions.cs, basedir=X:\tfs\Sonar2016\PROJECTLOCATION] has 1 character(s) at line 2

Stack Overflow | mo. | 1 week ago
  1. 0

    Sonarqube C# v5.5.2 still has “java.lang.IllegalArgumentException: is not a valid line offset for pointer”

    Stack Overflow | 1 week ago | mo.
    java.lang.IllegalArgumentException: 47 is not a valid line offset for pointer. File [moduleKey=no_AfterCompile_NormalBuild:no_AfterCompile_NormalBuild:DB96E47F-8CF8-487B-A19C-69BE6EC13F0F, relative=GlobalSuppressions.cs, basedir=X:\tfs\Sonar2016\PROJECTLOCATION] has 1 character(s) at line 2
  2. 0

    [Request For Feedback] Feedback wanted on C#, Scanner for MsBuild, FxCop, VB.NET

    Google Groups | 3 months ago | Tamas Vajk
    java.lang.IllegalArgumentException: 47 is not a valid line offset for pointer. File [moduleKey=XXX:E0834B61-2FBA-4BAA-BEA2-CEC754C4BA82, relative= GlobalSuppressions.cs, basedir=C:\tb\249\XXX\XXX\XXX\XXX\XXX] has 1 character(s) at line 2
  3. 0

    Sonarqube C# scanner exception: "java.lang.IllegalArgumentException: is not a valid line offset for pointer"

    Stack Overflow | 1 month ago | Mumbles76
    java.lang.IllegalArgumentException: 30 is not a valid line offset for pointer. File [moduleKey=JOB:develop, relative=DataStructures/Interval.cs, basedir=E:\Jenkins\workspace\Job Build-UnitTest (PullRequests)] has 1 character(s) at line 132
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MSBuild 12.0 and new C# Plugin 5.4.0.464 issue

    Google Groups | 2 months ago | André L.A.C Bittencourt
    java.lang.IllegalArgumentException: Start pointer [line=9, lineOffset=0] should be before end pointer [line=9, lineOffset=0]
  6. 0

    SonarQube Rules appear to break analysis

    Stack Overflow | 1 month ago | Rodders
    java.lang.IllegalArgumentException: Start pointer [line=65, lineOffset=0] should be before end pointer [line=65, lineOffset=0]

    2 unregistered visitors
    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.IllegalArgumentException

      47 is not a valid line offset for pointer. File [moduleKey=no_AfterCompile_NormalBuild:no_AfterCompile_NormalBuild:DB96E47F-8CF8-487B-A19C-69BE6EC13F0F, relative=GlobalSuppressions.cs, basedir=X:\tfs\Sonar2016\PROJECTLOCATION] has 1 character(s) at line 2

      at org.sonar.api.internal.google.common.base.Preconditions.checkArgument()
    2. org.sonar.api
      Preconditions.checkArgument
      1. org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:148)
      1 frame
    3. SonarQube :: Plugin API
      DefaultInputFile.newRange
      1. org.sonar.api.batch.fs.internal.DefaultInputFile.checkValid(DefaultInputFile.java:218)
      2. org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer(DefaultInputFile.java:209)
      3. org.sonar.api.batch.fs.internal.DefaultInputFile.newRange(DefaultInputFile.java:240)
      3 frames
    4. org.sonarsource.dotnet
      AbstractSensor.importResults
      1. org.sonarsource.dotnet.shared.plugins.SensorContextUtils.toTextRange(SensorContextUtils.java:41)
      2. org.sonarsource.dotnet.shared.plugins.protobuf.HighlightImporter.consumeFor(HighlightImporter.java:51)
      3. org.sonarsource.dotnet.shared.plugins.protobuf.HighlightImporter.consumeFor(HighlightImporter.java:33)
      4. org.sonarsource.dotnet.shared.plugins.protobuf.ProtobufImporter.consume(ProtobufImporter.java:49)
      5. org.sonarsource.dotnet.shared.plugins.protobuf.RawProtobufImporter.accept(RawProtobufImporter.java:43)
      6. org.sonarsource.dotnet.shared.plugins.AbstractSensor.parseProtobuf(AbstractSensor.java:95)
      7. org.sonarsource.dotnet.shared.plugins.AbstractSensor.importResults(AbstractSensor.java:87)
      7 frames
    5. org.sonar.plugins
      CSharpSensor.execute
      1. org.sonar.plugins.csharp.CSharpSensor.executeInternal(CSharpSensor.java:111)
      2. org.sonar.plugins.csharp.CSharpSensor.execute(CSharpSensor.java:82)
      2 frames
    6. org.sonar.batch
      SensorWrapper.analyse
      1. org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57)
      1 frame
    7. 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
    8. 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
    9. 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.scanRecursively(ProjectScanContainer.java:234)
      4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
      4 frames
    10. 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
    11. 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
    12. 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
    13. 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
    14. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    15. 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
    16. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    17. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    18. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:233)
      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:74)
      5. org.sonarsource.scanner.cli.Main.main(Main.java:61)
      5 frames