Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7031

Add more information when highlighting data are inconsistent

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.3
    • Component/s: Compute Engine
    • Labels:
      None

      Description

      In the HighlightingLineReader, when an error is thrown because of data inconsistency, the following log is displayed :
      "Inconsistency detected in Highlighting data. Highlighting will be ignored for file 'FILE KEY'".

      Unfortunately, we don't have the message detail that should have been provided by RangeOffsetConverterException.
      It's because Logger.warn(String msg, Throwable throwable) doesn't do anything with the throwable.

        Attachments

          Activity

            People

            Assignee:
            sebastien.lesaint Sebastien Lesaint
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: