Sonarlint cannot run analysis on files in Intellij 2019.1 beta

Using Sonarlint v4.0.2.3009 in Intellij 2019.1 beta (Community Edition) build #IC-191.6014.8
Sonarlint never reports any issues and, for every file, logs:
Analysing ‘$FILE.java’…
File won’t be refreshed because there were errors during analysis: $PATH
Found 0 issues

The same project works fine with the same plugin version/server config in intellij 2018.3.4

2 Likes

It seems that this was because the old version of sonarqube I was binding to didn’t like java 11.

For anybody else who ends up here, this is the solution:

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

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

1 Like