java.lang.IllegalStateException : The "build-wrapper-dump.json" file was found empty

Thanks, @EDChang, for sharing the files with me.

I’m not familiar with the build process for C2000, but here are things you should be able to check:

  • Is the command in sonarCloud.bat doing a clean build? All files must be compiled for build-wrapper to see the compiler invocations and record the necessary information for the analysis.
  • It seems other people use eclipsec.exe to build C2000 projects from the command line. I also found this documentation about eclipsec.exe, but you may have to upgrade your CCS version.
  • If you figure out how to do a clean build with CCS 3.3, it is possible build-wrapper may still not work. In that case, I would encourage you to upgrade if you can since this version wasn’t updated since 2009.

I hope this helps.