NPE in Sonarlint

Sonarlint 4.0

Occurred on updating the project bindings while the workbench was still starting up and an automatic build was still running. The same update has been working fine multiple times before in the same installation with the same workspace.

java.lang.NullPointerException
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:212)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.updateModule(ConnectedSonarLintEngineImpl.java:253)
	at org.sonarlint.eclipse.core.internal.server.Server.updateProjectStorage(Server.java:340)
	at org.sonarlint.eclipse.core.internal.jobs.ServerUpdateJob.run(ServerUpdateJob.java:70)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Hi Michael,

I have created a ticket:
https://jira.sonarsource.com/browse/SLE-292

Thanks for reporting the issue.

Looking at the stacktrace, this is not SonarLint 4.0 (or at least not an official build). I have closed the associated ticket since all the involved code was heavily refactored in SonarLint 4.0. Feel free to notify here or on the jira ticket if you still face the error on SonarLint 4.0.