java.lang.IllegalArgumentException: Unable to highlight file [moduleKey=DE_EPAGES::Address, relative=t/HouseNumber.t, basedir=/srv/epages/eproot/Cartridges/DE_EPAGES/Address]

GitHub | otrosien | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Projects with mixed file encoding cause sonar-scanner to fail

    GitHub | 2 months ago | otrosien
    java.lang.IllegalArgumentException: Unable to highlight file [moduleKey=DE_EPAGES::Address, relative=t/HouseNumber.t, basedir=/srv/epages/eproot/Cartridges/DE_EPAGES/Address]
  2. 0

    Projects with mixed file encoding cause sonar-scanner to fail

    GitHub | 2 months ago | otrosien
    java.lang.IllegalArgumentException: Unable to highlight file [moduleKey=DE_EPAGES::Address, relative=t/HouseNumber.t, basedir=/srv/epages/eproot/Cartridges/DE_EPAGES/Address]
  3. 0

    CSS with source maps comments break Sonar execution.

    GitHub | 1 year ago | FJLopezGarcia
    java.lang.IllegalArgumentException: Unable to highlight file [moduleKey=Rapid-Development-Offering:DIM-Portal:css_module, relative=acc-font.css, basedir=/Users/franciscojlopez/Documents/GIT/DigitalIntModel_5228Git/Source/Web/Accenture.Dim.Web/app/css] from offset 356528 to offset 356568 [00:48:18]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: 237 is not a valid offset for file while sonar.sourceEncoding property is defined

    GitHub | 9 months ago | jfallot
    org.sonar.squidbridge.api.AnalysisException: Unable to analyze file: <http://srcstat/jenkins/job/Sonar%20-%20VistaMart/ws/vistamart/tools/src/com/infovista/es/djinns/ui/solution.properties>
  6. 0

    XMLPlugin, not a valid offset

    Google Groups | 3 months ago | Unknown author
    java.lang.IllegalStateException: Could not analyze the file D:\projects\XXX\XXX\XXX\.sonar\abcconfig.xml

    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

      6467 is not a valid offset for file [moduleKey=DE_EPAGES::Address, relative=t/HouseNumber.t, basedir=/srv/epages/eproot/Cartridges/DE_EPAGES/Address]. Max offset is 6435

      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:145)
      1 frame
    3. SonarQube :: Plugin API
      DefaultInputFile.newRange
      1. org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer(DefaultInputFile.java:268)
      2. org.sonar.api.batch.fs.internal.DefaultInputFile.newRange(DefaultInputFile.java:263)
      2 frames
    4. org.sonar.api
      DefaultHighlighting.highlight
      1. org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting.highlight(DefaultHighlighting.java:82)
      2. org.sonar.api.batch.sensor.highlighting.internal.DefaultHighlighting.highlight(DefaultHighlighting.java:36)
      2 frames
    5. org.sonar.scanner
      HighlightingCodeBuilder.appendWithoutTransforming
      1. org.sonar.scanner.source.HighlightingCodeBuilder.appendWithoutTransforming(HighlightingCodeBuilder.java:73)
      1 frame
    6. SonarQube :: Code Colorizer
      TokenizerDispatcher.colorize
      1. org.sonar.colorizer.KeywordsTokenizer.consume(KeywordsTokenizer.java:69)
      2. org.sonar.colorizer.KeywordsTokenizer.consume(KeywordsTokenizer.java:33)
      3. org.sonar.colorizer.TokenizerDispatcher.colorize(TokenizerDispatcher.java:50)
      3 frames
    7. org.sonar.scanner
      ModuleScanContainer.doAfterStart
      1. org.sonar.scanner.source.HighlightingRenderer.render(HighlightingRenderer.java:40)
      2. org.sonar.scanner.source.CodeColorizers.toSyntaxHighlighting(CodeColorizers.java:86)
      3. org.sonar.scanner.source.CodeColorizerSensor.execute(CodeColorizerSensor.java:60)
      4. org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
      5. org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:57)
      6. org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:49)
      7. org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:78)
      8. org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:182)
      8 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. org.sonar.scanner
      ProjectScanContainer.doAfterStart
      1. org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:247)
      2. org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:242)
      3. org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:232)
      3 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.scanner
      TaskContainer.doAfterStart
      1. org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.scanner.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. org.sonar.scanner
      GlobalContainer.executeTask
      1. org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)
      1 frame
    14. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:116)
      1 frame
    15. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    16. 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
    17. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    18. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    19. 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