Getting this error for SonarQube PR scan - The "build-wrapper-dump.json" file was found but 0 C/C++/Objective-C files were analyzed

Hi All,

We are trying to implement Pull Request check with SonarQube.
However, we run into many problem. The latest one is this.

We are making change to a file in a PR, and then we run the buildwrapper and then the scanner.
And we are getting following error message:

ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found but 0 C/C++/Objective-C files were analyzed.

Has anyone see this before and know how to resolve it?
Thanks

Hi @joen ,

I recommend you to read the documentation page C/C++/Objective-C | SonarQube Docs and the full message printed by the sonar-scanner, which lists some things to check in case of this error.