Upon upgrading from Developer Edition V 8.7.1 to LTS 8.9 the sonar-scanner now errors out on one particular file:
Versions Used:
Analyzer CFamily plugin version: 6.20.0.31240
6.17 build-wrapper version (win-x86-64)
IAR ANSI C/C++ Compiler V9.10.1.308/W64 for ARM
Error Observed:
java.lang.IllegalStateException:
An error occurred while analyzing the following compilation unit:
C:\Clients\Vxxx\firmware\Mvp\pxxxr\firmware\src\Pxxxm.cpp
...
at com.sonar.cpp.plugin.CFamilySensor.process(CFamilySensor.java:396)
at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:175)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
...etc.
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Not using boost, so does NOT appear to be related to the known BOOST issue: https://jira.sonarsource.com/browse/CPP-2696. “xxx”. Do not see any similar construct in the sonar-cfamily-reproducer.zip.