Sonarscanner that relies on jdk11 to analyze the java project databinding function reported an error

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonarqube EE 9.9
    sonarscanner for gradle :
    gradle :5.4.1
    android studio:4.1.3
    android sdk :28
    sonarscanner jdk: jdk 11

  • how is SonarQube deployed: zip, Docker, Helm

  • what are you trying to achieve
    Android studio projects with databinding enabled can be analyzed successfully by sonarqube ee 9.9

  • what have you tried so far to achieve this

  1. Analysis project success using sonarqube 8.9 and JDK8-based sonarscanner.
  2. After disabling databinding in build.gradle, the project was analyzed successfully using sonarqube 9.9 and JDK11-based sonarscanner.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Analyze command →
gradlew.bat clean sonar ^
-Dsonar.projectKey=TestAnalyze_db ^
-Dsonar.projectName=TestAnalyze_db ^ ^

I can provide sample projects if needed. cmd log is attached:
log.txt (1.4 KB)

Hey there.

Does gradle build work (in the absence of the sonarqube task) when using Java 11?

Hi Colin ,

Yes,the project can be built with jdk11.
 I can execute gradlew.bat with jdk11 successfully.