Getting 'The 'component' parameter is missing' on binding projects in ecclipse to SonarCloud

Template for a good bug report, formatted with Markdown:

  • Versions used -
    SonarLint is 4.3 & Eclipse is running on version mars2 release 4.5.2

  • Error observed - The ‘component’ parameter is missing

  • Steps to reproduce - Bind projects from eclipse to SonarCloud

  • Potential workaround

  • Scanner command used when applicable (private details masked)

  • In case of SonarCloud:

    • ALM used (Azure DevOps - Build and Code analysis works fine for the same projects in SonarCloud)
    • CI system used (Azure DevOps)

Thanks in advance!

Hello, thank you for your feedback.

It looks like there is something odd with your setup: this request (with the baseComponentKey parameter) is not supposed to be called by the latest SonarLint, especially when connected to SonarCloud.

Could you please make sure that:

  • the binding token, organization and project key in your server bindings are correct
  • the version of SonarLint for Eclipse you have is (latest as of writing)
  • you only have version of sonarlint-core under Help > About Eclipse IDE > Installation Details > Plug-ins (see screenshot below)