java.lang.IllegalStateException while probing compiler

Hello, I am also facing the same issue. Please suggest.

12:46:48.184 DEBUG: 'isp_wfl_IsomAdapterEvents.cpp' generated metadata  with charset 'UTF-8'
12:46:48.301 DEBUG: Probing compiler: [/home/sameer/build_master/isp20_galaxy/buildroot-at91/output/host/usr/bin/ext-toolchain-wrapper, -x, c, -mcpu=arm926ej-s, -v, -dM, -E, -]
12:46:53.412 INFO: ------------------------------------------------------------------------
12:46:53.413 INFO: EXECUTION FAILURE
12:46:53.413 INFO: ------------------------------------------------------------------------
12:46:53.413 INFO: Total time: 17.861s
12:46:53.463 INFO: Final Memory: 16M/364M
12:46:53.463 INFO: ------------------------------------------------------------------------
12:46:53.463 ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException
        at com.sonar.cpp.driver.ProcessExecutor.execute(ProcessExecutor.java:32)
        at com.sonar.cpp.analyzer.ClangDriver.lambda$probeCompiler$6(ClangDriver.java:479)
        at java.util.HashMap.computeIfAbsent(HashMap.java:1126)
        at com.sonar.cpp.analyzer.ClangDriver.probeCompiler(ClangDriver.java:477)
        at com.sonar.cpp.analyzer.ClangDriver.onCapture(ClangDriver.java:315)
        at com.sonar.cpp.plugin.CFamilySensor.process(CFamilySensor.java:266)
        at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:198)

Hi @Sameer_Soni,

I moved your post to a new topic. The probing of your compiler is taking more than 5 seconds, could you please check if this is expected?

Okay. I am checking. Thank you!

1 Like

Hi @Sameer_Soni,

did you manage to solve your issue?