4

I am getting the following error when trying to process files in SonarLint

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

Unfortunately SonarLint does not report which errors it is encountering. I set sonar.log.level to DEBUG and sonar.verbose to true.

My project builds just fine and unit tests run. I am running version 2.10.0.1922 of SonarLint and version 2017.1.4 of IntelliJ. I have tried this on JDK 1.8.121 and JDK 1.8.131 but I get the same results.

Is there any way to retrieve what the errors are? Am I missing something whith the logging parameters?

Sky
  • 4,244
  • 7
  • 54
  • 83

2 Answers2

1

Possible solution:

https://community.sonarsource.com/t/sonarlint-error-during-analysis-with-latest-intellij-and-remote-sonarqube-server/13440/7

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

Martin Patsov
  • 366
  • 5
  • 10
0

Now I have an update in place en am finally getting some indication of what the problem was. I should be able to take it from here.

So the issue is resolved by updating SonarLint