SonarLint

Add this URL to your Eclipse Installation to reach this solution's update site.

Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)


Juno (4.2, 3.8)


Learn more...

Details Group Tabs

Friday, August 17, 2018 - 13:37
rmonteirodonascimentojunior's picture

Hi  people,

I installed sonarLint in my eclipse luna. But don't see when I click in right button in my project!

Anybody can help me?

lvoisine's picture

I've installed SonarLint and correctly linked my project to my remote server and remote project, I've marked as 'excluded' all the library files of my project (Symfony PHP web project), but when I want to run an analysis, I always get the following error no matter the configuration : 

An internal error occurred during: "SonarLint analysis of project dashboard (1 992 files to analyze, 14 excluded)".
Could not initialize class org.sonar.channel.ChannelDispatcher

If someone has already had the same error and knows how to solve it, any help is welcome !

lhuangxkj's picture

how to close it ? 

3088836360's picture

it is installed in Juna,but can't find in window->Preference

jduker2o's picture

I get the following when I try to install:

 

Unable to read repository at h ttps://eclipse-uc.sonarlint.org/content.xml.
Unrecognized SSL message, plaintext connection?

 

I have the Market Place client installed.  Any suggestions?

rmonteirodonascimentojunior's picture

Hi,

I fixed this problem adding in my eclipse.ini the next lines:

-Djsse.enableSNIExtension=false
-Djava.net.preferIPv4Stack=true
-Dhttps.protocols=TLSv1.2

Observation:  I'm behind a proxy and  configurated my proxy in windows --> preference --> proxy!

 

by,

 

Rubens Jr.

jhenrym6y's picture

This is a composite update site, so Eclipse should be looking first for https://eclipse-uc.sonarlint.org/compositeContent.xml (which exists). If for some reason Eclipse can't get the compositeContent.xml it will try as a fallback fallback to get content.xml (that doesn't exists). So the message is misleading.

If you are behind a corporate proxy, I would check with your infra team why you can't fetch https://eclipse-uc.sonarlint.org/compositeContent.xml.

fglck's picture

I have the same Problem, after "Confirm selected..." I got:

Unknown Host: //eclipse-uc.sonarlint.org/content.xml
eclipse-uc.sonarlint.org

If I try to open this URL in a browser:

Not Found

The requested URL /content.xml was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

jduker2o's picture

I can click on both of those links you provided, while in the office which does have a corporate fire wall, and I can retrieve both of the XML files.

snagqqt's picture

Is there a way to add SonarLint plugin using the dropins folder?

ashah15i's picture

Hi,

Goal of installing this plugin is to see issues before actually shown on build machine. However, for me issues in Eclipse reported by sonar lint is different from reported on server. We are using server version 5.6 and sonarlint version 2.3.1.

apalajw's picture

Hi,
Is this plugin available for Eclipse Galileo?
If yes please guide with the process to install it!!
Thanks in advance.

vflorentino's picture

I got this error message in mars 2.

hjie's picture

I got this error message in mars 2.

ptambay's picture

File not found error during installation: www.sonarlint.org/compositeContent.xml
I see that the file is available at www.sonarlint.org/eclipse/compositeContent.xml instead.
Can you please fix it?

kvaithilingam's picture

I'm not able to install SonarLint in Mars 4.5.1 (STS 3.7.2)

sarumugam's picture

Please download the zip and install as archive by selecting the downloaded zip in Install New Software option. This worked for me in STS 3.7.2.

ecoll's picture

Do we need a SourceForge account to be able to download / install SonarLint plugin? I get prompted for a SourceForge userid / password when I try to install this. Doesn't seem to be a requirement for other plugins....
Thanks

jhenrym6y's picture

This is very strange since we have no relation at all with SourceForge. Can you please join SonarLint user group so that we can investigate (this is not the best place to handle support).