Hi,
we are using SonarQube with a StyleCop.Analyzers plugin (which we build using the SonarQube Roslyn SDK).
We are currently on the previous LTS (6.7.3) and I’d like to update to the latest LTS (7.9). However, with 7.9 our build job breaks with an ERROR
ERROR: Error during SonarQube Scanner execution
ERROR: 43 is not a valid line offset for pointer. File Collections/IStatisticHeap.cs has 42 character(s) at line 72
I think I know what causes the problem:
One of our active rules is SA1629: “Documentation text should end with period”.
This diagnostic reports on the place where the missing period should be. In Visual Studio it looks like this (note that the squiggly line appears right next to the last character of that line:
Apparently SonarQube 7.9. can’t handle this and instead reports an error that something was found at a location that does not exist.
For comparison, in SonarQube 6.7.3 such finding could be imported and were displayed like this:
Please advice.
Thanks,
Markus