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]java.lang.StackOverflowError

java.lang.StackOverflowError

##[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.

Suggestions?

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.

Sorry for the length of time it took to get back to this. We are in the middle of a mass migration to ADO.

I changed the level to Debug in the YAML script and still getting the same errors without saying what file is erroring out and where.

Okay. At this point, I would suggest sharing the full logs!