"build-wrapper-dump.json" file was found empty (windows,C#)

Hello , I need help . Why I use SonarCloud.bat ,he can build “build-wrapper.log” and “build-wrapper-dump.json”,but “build-wrapper-dump.json” file was found empty,I use “Windows”,Compile softwave is “CodeWarrior”

09:56:24.127 INFO: 0/149 files marked as unchanged
09:56:24.127 INFO: Cache: 0/0 hits, 125 bytes
09:56:24.127 INFO: 0 compilation units analyzed
09:56:24.268 INFO: ------------------------------------------------------------------------
09:56:24.268 INFO: ------------------------------------------------------------------------
09:56:24.279 INFO: Total time: 45.700s
09:56:24.341 INFO: Final Memory: 39M/137M
09:56:24.341 INFO: ------------------------------------------------------------------------
09:56:24.341 ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found empty. Please make sure that:

  • you are using the latest version of the build-wrapper and the CFamily analyzer
  • your compiler is supported
  • you are wrapping your build correctly
  • you are wrapping a full/clean build
  • if you are building your project inside a Docker container, build-wrapper is wrapping the build process inside the container and not wrapping the external Docker process

Hey there.

This compiler is not supported.

Thanks Colin!
I go to try else compiler

thanks, have a nice day to you

1 Like