java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found but 0 C/C++/Objective-C files were analyzed. Please make sure that:

INFO: Available processors: 4
WARN:
CFamily plugin supports multithreaded analysis:

  • to enable multithreaded analysis
    please specify the number of threads to use
    by setting the following property to your analysis:
    sonar.cfamily.threads=number_of_threads

  • if you do not want to enable multithreading
    please explicitly disable it
    by setting the following property to your analysis:
    sonar.cfamily.threads=1

  • visit the documentation page for more information
    http://hostname.corp.xerox.com:9000/documentation/analysis/languages/cfamily/

INFO: Using 1 thread for analysis according to value of “sonar.cfamily.threads” property.
WARN:
CFamily plugin supports incremental analysis with the use of a cache:

  • if you do not want to enable cache
    please explicitly disable it
    by setting the following property to your analysis:
    sonar.cfamily.cache.enabled=false

  • to enable cache please specify the following 2 options:
    sonar.cfamily.cache.enabled=true
    sonar.cfamily.cache.path=relative_or_absolute_path_to_cache_location

  • visit the documentation page for more information
    http://hostname.corp.xerox.com:9000/documentation/analysis/languages/cfamily/

WARN: Microsoft extension activated by “/clr:nostdlib” compiler option is not supported, skip analysis of files: [D:/Jenkins/workspace/axfTrunk_Sonar/Installer/License/InstSupLM/AssemblyInfo.cpp, D:/Jenkins/workspace/axfTrunk_Sonar/Installer/License/InstSupLM/XLMKeyGeneratorImpl.cpp, D:/Jenkins/workspace/axfTrunk_Sonar/Installer/License/InstSupLM/XLMManagedWrapper.cpp]
WARN: Microsoft extension activated by “/clr:nostdlib” compiler option is not supported, skip analysis of files: [D:/Jenkins/workspace/axfTrunk_Sonar/Installer/License/InstSupLM/GlobalSuppressions.cpp]
WARN: Microsoft extension activated by “/clr:nostdlib” compiler option is not supported, skip analysis of files: [D:/Jenkins/workspace/axfTrunk_Sonar/Installer/License/InstSupLM/x64/Release/.NETFramework,Version=v4.0.AssemblyAttributes.cpp]
INFO: PCH: unique=0 use=0 (forceInclude=0,throughHeader=0,firstInclude=0) out of 0 (forceInclude=0,throughHeader=0)
INFO: Subprocess(es) done in 56ms
INFO: 0 compilation units analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 31.501s
INFO: Final Memory: 24M/84M
ERROR: Error during SonarScanner execution
INFO: ------------------------------------------------------------------------
java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found but 0 C/C++/Objective-C files were analyzed. Please make sure that:

  • you are using the latest version of the build-wrapper and the CFamily analyzer
  • you are correctly invoking the scanner with correct configuration
  • your compiler is supported
  • you are wrapping your build correctly
  • you are wrapping a full/clean build
  • you are providing the path to the correct build-wrapper output directory
  • you are building and analyzing the same source checkout, absolute paths must be identical in build and analysis steps
    at com.sonar.cpp.plugin.CFamilySensor.execute(CFamilySensor.java:419)
    at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:48)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:85)
    at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:62)
    at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:82)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
    at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:393)
    at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:389)
    at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:358)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
    at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:144)
    at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:137)
    at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
    at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
    at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
    at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
    at com.sun.proxy.$Proxy0.execute(Unknown Source)
    at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
    at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:112)
    at org.sonarsource.scanner.cli.Main.execute(Main.java:75)
    at org.sonarsource.scanner.cli.Main.main(Main.java:61)
    ERROR:
    The SonarScanner did not complete successfully
    13:23:50.986 Post-processing failed. Exit code: 1