Sonnar scanner IllegalStateException

16:39:40.524 INFO: [pool-4-thread-1] D:/workspace/Mlibrary/mapping.c 16:39:41.243 ERROR: Exception in thread pool-4-thread-1 java.lang.IllegalStateException: exit code != 0 at com.sonar.cpp.analyzer.Subprocess.execute( at com.sonar.cpp.analyzer.Subprocess.execute( at com.sonar.cpp.plugin.CFamilySensor.lambda$process$4( at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0( at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at


  • sonar.scanner.appVersion=
  • sonarqube

Trying to run a sonar scanner on a C project

Tried so far
Setup the sonar scanner and ran it multiple times with no success.

Please close this issue. I did a few more searches on this community and found an issue that was linked to the GCC compiler I use. I did the sonar scanner update and this fixed the issue.

1 Like