# Java Nullable annotation causes analyser to fail on certain files

**URL:** <https://community.sonarsource.com/t/java-nullable-annotation-causes-analyser-to-fail-on-certain-files/29819>\
**Category:** SonarQube Server / Community Build\
**Tags:** java\
**Created:** [August 20, 2020, 9:55am UTC](https://community.sonarsource.com/t/java-nullable-annotation-causes-analyser-to-fail-on-certain-files/29819 "2020-08-20T09:55:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewis-porter-inspera](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/lewis-porter-inspera/32/14388_2.png) [@lewis-porter-inspera](https://community.sonarsource.com/u/lewis-porter-inspera)\
**Post date:** [August 20, 2020, 9:55am UTC](https://community.sonarsource.com/t/java-nullable-annotation-causes-analyser-to-fail-on-certain-files/29819/1 "2020-08-20T09:55:21Z")

</div>

Hey there,

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 8.4.1.35646 with SonarScanner version 4.4.0.2170 and v3.0 of the Gradle plugin.

Any idea how I might go about troubleshooting this further?

---

<div class="post-metadata">

**Author:** ![Michael](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/michael/32/43_2.png) [@Michael](https://community.sonarsource.com/u/Michael)\
**Post date:** [August 25, 2020, 6:25am UTC](https://community.sonarsource.com/t/java-nullable-annotation-causes-analyser-to-fail-on-certain-files/29819/2 "2020-08-25T06:25:23Z")

</div>

Hello @lewis-porter-inspera,

Unfortunately, without a small project reproducing the issue, it will be hard to identify the what’s causing the issue. Could you design a small project with 1-2 classes which would consistently fail with the same issue?

Thanks,  
Michael
