Getting below error

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
    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

Hi,

Welcome to the community!

Have you double-checked all those points in the error message you posted?

 
Ann

Yes i have checked

Hi,

If you think none of those things are relevant, then can you provide some more details of

  • your project
  • your build
  • your analysis
  • your CI/CD environment
    *…

Because there’s not much to go on here.

 
Ann

Sonar Analysis is getting stopped with below error
4:54:55.118 DEBUG: Expression StringLiteralImpl has been translated to unknown function call.
04:54:55.119 DEBUG: Expression SubscriptionExpressionImpl has been translated to unknown function call.
04:54:55.119 DEBUG: Expression SubscriptionExpressionImpl has been translated to unknown function call.
04:54:55.168 INFO: 24/24 source files have been analyzed
04:54:55.168 INFO: Sensor Python Sensor [python] (done) | time=3267ms
04:54:55.168 INFO: Sensor Cobertura Sensor for Python coverage [python]
04:54:55.169 DEBUG: Using pattern ‘coverage-reports/coverage-.xml’ to find reports

04:54:55.118 DEBUG: Expression InExpressionImpl has been translated to unknown function call.
04:54:55.118 DEBUG: Expression NameImpl has been translated to unknown function call.
04:54:55.118 DEBUG: Skipping function add at file /home/ubuntu/jenkins/workspace/Sonarqube/gryphon-application/modules/sslproxy/src/extra/log2pcap.py as it uses a not-yet-supported language feature: Assignment having target SUBSCRIPTION
04:54:55.118 DEBUG: Expression StringLiteralImpl has been translated to unknown function call.
04:54:55.119 DEBUG: Expression SubscriptionExpressionImpl has been translated to unknown function call.
04:54:55.119 DEBUG: Expression SubscriptionExpressionImpl has been translated to unknown function call.
04:54:55.168 INFO: 24/24 source files have been analyzed
04:54:55.168 INFO: Sensor Python Sensor [python] (done) | time=3267ms
04:54:55.168 INFO: Sensor Cobertura Sensor for Python coverage [python]
04:54:55.169 DEBUG: Using pattern ‘coverage-reports/coverage-.xml’ to find reports
client_loop: send disconnect: Broken pipe

Hi,

As Colin noted in your other thread, logs without context aren’t terribly helpful. Please provide the context I’ve asked for.

 
Ann