AnalyzerException while analyzing objective c project

I am getting an AnalyzerException while analyzing an objective c project.

Must-share information :

  • we are currently using Sonarqube Developer Edition 9.6.1
    • we recently updated to 9.6.1
    • before we used 9.3 and with 9.3 there were no errors
  • it wasn’t a “one-time” error and it occurs every run

This is the error:

Exception in thread pool-3-thread-1
com.sonar.cpp.analyzer.Analyzer$AnalyzerException: Exit code != 0: /Users/buildapp/builds/0/SmartMobileFrameworkIOS/SmartMobileFrameworkIOS/Implementation/SMAppStartServiceImpl.m
	at com.sonar.cpp.analyzer.Subprocess.lambda$execute$1(
	at com.sonar.cpp.analyzer.Subprocess.execute(
	at com.sonar.cpp.analyzer.Subprocess.execute(
	at com.sonar.cpp.analyzer.ReproducerRequester.requestReproducer(
	at com.sonar.cpp.analyzer.AnalysisHandler.acceptResult(
	at com.sonar.cpp.analyzer.Subprocess.execute(
	at com.sonar.cpp.plugin.CFamilySensor.lambda$process$19(
	at com.sonar.cpp.analyzer.AnalysisExecutor.lambda$submit$0(
	at java.base/java.util.concurrent.Executors$
	at java.base/
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/
> Task :sonarqube
An error occurred while analyzing the following compilation unit: 
A file named "" has been generated to help the problem investigation.
Please contact SonarSource support providing the following file to help improving the analyzer:
> Task :sonarqube FAILED

I attached he given analysis.log-file:
analysis.log (65.8 KB)

1 Like

Hello @MSi and welcome to our community!

As described in the log, a has been generated. Could you share it, please? That would help me reproduce the issue to determine what is happening.
I can send you a private message if needed.


Sure, here it is (I hope attaching the zip works, otherwise you can send me a pm) (4.2 MB)

Thanks in advance!

Hi @MSi ,

from a quick look, you are likely facing CPP-3856. We currently don’t have a workaround for it, would you eventually be interested in testing a snapshot version with the fix?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.