java.lang.IllegalArgumentException: 356568 is not a valid offset for 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]. Max offset is 356567 [00:48:18] at org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:148)

GitHub | FJLopezGarcia | 1 year 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

    CSS with source maps comments break Sonar execution.

    GitHub | 1 year ago | FJLopezGarcia
    java.lang.IllegalArgumentException: 356568 is not a valid offset for 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]. Max offset is 356567 [00:48:18] at org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:148)

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      356568 is not a valid offset for 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]. Max offset is 356567 [00:48:18] at org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:148)

      at org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer()
    2. SonarQube :: Plugin API
      DefaultInputFile.newPointer
      1. org.sonar.api.batch.fs.internal.DefaultInputFile.newPointer(DefaultInputFile.java:267)
      1 frame