File won't be refreshed because there were errors during analysis

  • versions: SonarLint IDEA plugin Version: 3.5.1.2759, IntelliJ IDEA Ultimate 2018.2.5
  • error observed: File won't be refreshed because there were errors during analysis: /SomeJavaFile.java Found 0 issues
  • steps to reproduce: Download plugin, run analysis.
4 Likes

Possible solution:

Another solution is to upgrade SonarJava on the server to a version greater than 5.8

Related: Sonarlint cannot run analysis on files in Intellij 2019.1 beta - #3 by martinely95

Hello Team,
Facing the same issue
IDE version : IntellIJ Ultimate Edition / 2020.1 / Windows
Sonarlint version : 4.8.0.18115
Connected mode : Yes
SonarQube server version : 6.7.4.38452
SonarQube Java version : sonar-java-plugin-5.7.0.15470.jar
IntelliJ Runtime version : build 11.0.6+8-b765.25

Analysis is not showing up any issues on project binding for java files.
I have tried changing runtime as suggested but my intelliJ doesn’t come up then.
So kindly provide any pointers on this.