Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-1375

IllegalArgumentException: Unable to highlight file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: None
    • Component/s: Sonar Plugin
    • Labels:
      None

      Description

      file.cpp contains UTF-8 BOM and usage of sonar.sourceEncoding=windows-1252 will cause

      IllegalArgumentException: 30 is not a valid offset for file
      

      while usage of sonar.sourceEncoding=UTF-8 won't (plugin version 3.9, SQ version 5.2).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              evgeny.mandrikov Evgeny Mandrikov
              Reporter:
              evgeny.mandrikov Evgeny Mandrikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: