Not able to connect SonarQube server using SonarLint plugin

1,714 views
Skip to first unread message

Boobalan M

unread,
Dec 1, 2016, 2:12:41 AM12/1/16
to SonarLint
Hello,

I'm using Version: Mars.2 Release (4.5.2).
Installed Java 8.0 and configured in Eclipse as well. (java.runtime.version=1.8.0_92-b14)
Sonar Qube server version : 5.6
Sonar Lint Plugin 2.3.1

When trying to connect Sonar Qube server and updating the project binding, I'm getting the below error.

Error during analysis
org.sonarsource.sonarlint.core.client.api.exceptions.StorageException: No data stored for module 'org.project.proj:proj.core'. Please update the binding.

The Sonar qube server says "Last Update time" as current time in the SonarQube Servers tab. But the issues are not reported. Does sonarqube 5.6 is supported for connecting with Sonarlint plugin in eclipse?

Any suggestion will help us.

Thanks,
Boobalan M 

Boobalan M

unread,
Dec 1, 2016, 2:16:22 AM12/1/16
to SonarLint
Adding error log:

Retrieve remote issues of project proj.core...
java.lang.NullPointerException
at org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.getUnresolvedRemoteIssuesRecursively(SonarWSClientFacade.java:170)
at org.sonar.ide.eclipse.core.internal.remote.RemoteSourceCode.getRemoteIssuesWithLineCorrection(RemoteSourceCode.java:101)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeIssuesJob.retrieveIssues(SynchronizeIssuesJob.java:145)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeIssuesJob.retrieveMarkers(SynchronizeIssuesJob.java:124)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeIssuesJob.visit(SynchronizeIssuesJob.java:105)
at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:83)
at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:93)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:51)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeIssuesJob.run(SynchronizeIssuesJob.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Julien HENRY

unread,
Dec 1, 2016, 2:44:41 AM12/1/16
to Boobalan M, SonarLint
Hi,

This stacktrace is from the old SonarQube EClipse plugin (not SonarLint). Please uninstall the old Eclipse plugin, restart Eclipse, and then right click on your server in "SonarQube server" view and do "update all projects binding".

++

Julien

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/ad0c14ff-c47a-482f-bebb-7eab489534df%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages