I’m trying to analyse one of our Java 8 projects with Sonarqube, and I’m seeing this error crop up in the logs on our CI:
ERROR: Unable to run check class org.sonar.java.se.SymbolicExecutionVisitor - on file <snip> org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type javax.annotation.Nullable cannot be resolved. It is indirectly referenced from required .class files
I’ve checked our Gradle files and the nullable package,
com.google.code.findbugs:jsr305, is being included transitively. Explicitly adding it as a dependency doesn’t seem to help.
We’re using SonarQube 184.108.40.206646 with SonarScanner version 220.127.116.110 and v3.0 of the Gradle plugin.
Any idea how I might go about troubleshooting this further?