Search code examples
.netsonarqubesonar-runner

Getting error while running sonarqube scanner


Getting the following error in SonarQube while running the build from TeamCity

Caused by: Start pointer [line=239, lineOffset=1] should be before end pointer [line=239, lineOffset=1]

Updated the C# plugin, installed VB.net plugin and added the Scanner for MSBUILD latest version sonar-scanner-msbuild-2.2.0.24.

Still getting the error.


Solution

  • Unfortunately we introduced a bug in the latest release. Here's the corresponding ticket: https://jira.sonarsource.com/browse/SONARCS-629. We're working on the fix.

    As a workaround for the time being you can disable the rule that causes the issue. Can you confirm that in your case it is S105 (tab characters should not be used)?