Configuration cache crash in


  • which versions are you using
    Sonarqube Gradle
  • what are you trying to achieve
    Enabling configuration cache but sonar task throws exception
  • what have you tried so far to achieve this
    Disabled configuration cache

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!


Sonar task throws exception if configuration cache is enabled:

- Task :sonarof typeorg.sonarqube.gradle.SonarTask: error writing value of type 'org.gradle.api.internal.provider.DefaultMapProperty'


Can you provide the full analysis log, please?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.