Problems parsing Java 17 with Gradle

Hi Ann,

My current project based on java 17 and trying get report on sonarcloud . Facing issues related to parse file and getting this error .Using sonarcube “org.sonarqube” version “3.3” in gradle file . Please help .
Which properties and version specific we need to include to get report .
java version 17
sonarqube-gradle-plugin:3.3
“org.sonarqube” version “3.3”

Task :sonarqube

Could not find ref: $(PR_TARGET_BRANCH) in refs/heads, refs/remotes/upstream or refs/remotes/origin

Fallback to file by file analysis for 9 files

ECJ: Unable to parse file

java.lang.NullPointerException: Cannot read field "id" because "typeBinding" is null

Hey there.

Can you try running gradle sonarqube --debug and search for this error message to find the file that actually failed to be analyzed? By providing this file, we may be able to understand why it failed to parse.