Error to conect SonarLint with SonarQube

Hi have the next verisions of theese products:

  • SonarLint: 6.2.0.37299
  • SonarQube: 10.0.0

if I don’t connect the sonarlint against my sonarqube everything works fine and shows the errors in the code, however when I connect it against my sonarqube the following error appears:

Error during execution of SonarLint analysis
org.sonarsource.sonarlint.core.client.api.exceptions.GlobalStorageUpdateRequiredException: Storage of server 'xxxx.xxxx.xxx' requires an update
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.checkUpdateStatus(ConnectedSonarLintEngineImpl.java:239)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:369)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:361)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.analyze(ConnectedSonarLintEngineImpl.java:155)
	at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$15(ConnectedEngineFacade.java:392)
	at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade$$Lambda$382.605A24E0.apply(Unknown Source)
	at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.withEngine(ConnectedEngineFacade.java:185)
	at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.runAnalysis(ConnectedEngineFacade.java:391)
	at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:70)
	at org.sonarlint.eclipse.core.internal.jobs.AnalyzeConnectedProjectJob.runAnalysis(AnalyzeConnectedProjectJob.java:1)
	at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.run(AbstractAnalyzeProjectJob.java:400)
	at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.runAnalysisAndUpdateMarkers(AbstractAnalyzeProjectJob.java:208)
	at org.sonarlint.eclipse.core.internal.jobs.AbstractAnalyzeProjectJob.doRun(AbstractAnalyzeProjectJob.java:162)
	at org.sonarlint.eclipse.core.internal.jobs.AbstractSonarProjectJob.run(AbstractSonarProjectJob.java:45)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

It seems to be an incompatibility between the plugin version and the sonarqube version installed. Could you please confirm if I am right and tell me which version of SonarQube is compatible with my version of the plugin?

Thanks :slight_smile:

Hey there.

Both of these are EOL versions of SonarLint and SonarQube.

The latest version of SonarLint for Eclipse is 9.3. It is compatible with SonarQube 10.0, but you should upgrade to 10.4 (the latest version, and only supported v10.x version).

SonarQube v8.9 LTS is compatible with your current version of SonarLint… but is also EOL.

I think the first think you should do is upgrade SonarLint!