Not able to install sonarlint in STS

Template for a good bug report, formatted with Markdown:

  • SonarLint 5.0
  • Unable to read repository
  • Install SonarLint in STS

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug UnabletoInstallSonarLint :Unable to read repository sub-category for rules-related behaviour

In Spring tool suite, when i search for SonarLint , i am able to find SonarLint 5.0 version.
Upon continuing to install , it shows selected features and the after giving confirmation, i get below error .

Unable to read repository at https://eclipse-uc.sonarlint.org/content.xml.
java.util.NoSuchElementException

Please help resolving this issue.

Hello, the URL queried by STS looks weird, and indeed there is no content.xml file on the SonarLint for Eclipse update site.

Could you please check the update site URL defined for SonarLint in your settings? Under “Help” > “Install New Software…” > “Manage…”

The correct URL is https://eclipse-uc.sonarlint.org/ which serves both compositeContent.xml and compositArtifacts.xml.