Parsing issue with TI compiler

Hi there, I am using Sonarqube - I get this crash:

INFO: ------------------------------------------------------------------------
INFO: Total time: 1:45.941s
INFO: Final Memory: 79M/280M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: java.nio.file.NoSuchFileException: C:\Users\CARDIA~1\AppData\Local\Temp\probe2160877324278972826.pp
at com.sonar.cpp.fs.FileSystemAccess.toByteArray(
at com.sonar.cpp.fs.FileSystemAccess.toString(
at com.sonar.cpp.analyzer.TexasDriver.lambda$probeCompiler$1(
at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
at com.sonar.cpp.analyzer.TexasDriver.probeCompiler(
at com.sonar.cpp.analyzer.TexasDriver.onCapture(
at com.sonar.cpp.plugin.CFamilySensor.process(
at com.sonar.cpp.plugin.CFamilySensor.execute(
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(
at org.sonar.core.platform.ComponentContainer.startComponents(
at org.sonar.core.platform.ComponentContainer.execute(
at org.sonar.scanner.scan.ProjectScanContainer.scan(
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(

I disabled the firewall and anti virus as suggested but this did not help.

attached are my JSON files and (366.2 KB)

thank you in advance,

kind regards,

Hi, after adding -X, we see
argument to option -mv (nops) is out of range
as the error.
can you help us fix this ?
thanks, neil

Hi @neillangmead ,

Welcome to SonarSource community! :sonarsource:

Can you attach the entire Sonar scanner debug-level logs?


Hi Joe, I worked around the issue. After building with debug (-X), I saw the scanner wasn’t happy with the -vMap option processing, so I deleted this from the JSON wrapper file, and the analysis completed successfully. It might be worth documenting the workaround in case other TI users come across this issue. thank you!
kind regards,

1 Like

@neillangmead : Thank you very much for explaining how you solved it. Please feel free to open a new thread in case you run into any new issues.


Hello @neillangmead,

It would help us if you can send the part of the debug log that mentions the -vMap command line option, so that we can correct the way it is handled.

I created to track this issue.

1 Like

hi @JolyLoic , sure no problem, here is the (567.9 KB)
the issue was with error: argument to option -mv (nops) is out of range
Change in the JSON build script, the -mV option to the map file, and it works correctly.
thank you,