Error in SonarLint for IntelliJ. Failed to query organizations

Please provide

  • Operating system: MacOS Ventura
  • SonarLint plugin version: latest
  • Programming language you’re coding in: 8.5.0
  • Connected to SonarCloud

When i try to add connection i see error (after click “next” on token enter step).
Failed to query organizations. Please check the configuration and try again. Error: Cannot invoke “java.util.List.size()” because the return value of “org.sonarlint.intellij.tasks.GetOrganizationsTask.organizations()” is null

Inside my account i have organizations with several private repositories. How i can fix this?

Hi @Oleksandr_Dimov,

We just released a new patch release, version 8.5.1, that should fix this issue. Could you please update and see if it fixes the problem?

2 Likes