Sonar Error with T\SQL Files

SonarScanner for Azure DevOps is throwing current error:

##[error]ERROR: Error during SonarScanner execution

ERROR: Error during SonarScanner execution



##[error]at com.sonarsource.tsql.B.C.B.H(Unknown Source)

We are using T\SQL to scan .SQL extension scripts (yes they are TSQL). Can’t seem to find any further information on this issue. It works fine with PL\SQL but it throws LOTS of “Parse Warnings” because the scripts are T\SQL.


In order to troubleshoot, it would be best if you could provide a copy of the SQL file that causes the stackoverflow.

Sadly that’s one of the issues. The system isn’t telling us what file is the issue, it just throws the above error many times. It just repeats this:

Try passing -X to the sonar-scanner command for better (DEBUG level) details about where in the analysis it is failing.