SonarScanner failing The "build-wrapper-dump.json" file was found but 0 C/C++/Objective-C files were

Hello
I am using a linux environment for a C project on which i am using build-wrapper, version 6.44 (linux-x86) and SonarScanner 4.8.0.2856

The build wrapper does its job ,but when i use the scanner , i get the error
##[error]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.

I check the buildWrapper log and json and i can not see any issue that could explain .

I have a working directory (WORK_DIRECTORY) in which i have the following sub directory
→ project
→ sonar-output
My source file are in project/src (path mentioned in the sonar properties).
sonar-output directory is the result f the build wrapper

build-wrapper.log (1.6 MB)
build-wrapper-dump.json (385.6 KB)
I don t get why 0 files were analyzed.

Thank you

Hey there.

Please don’t raise duplicate threads. I will close this one.