Error in SonarQube for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 21.0.6
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2025.1.1
  • SonarQube for IDE: 11.12.0.84088
o.sl.ij.config.global.credentials.CredentialsException: 
                    Could not load token or login/password credentials for connection 'New SonarQube Cloud'.
                    As a workaround, try removing and re-adding the connection.
                    This may also be caused by an issue with your system's credential storage.
                    Check your IDE's password storage settings in Settings > Appearance & Behavior > System Settings > Passwords.
	at o.sl.ij.config.global.credentials.CredentialsService.readCredentials(CredentialsService.kt:67)
	at o.sl.ij.config.global.credentials.CredentialsService.getCredentials$lambda$0(CredentialsService.kt:41)
	at o.sl.ij.util.ThreadUtilsKt.computeOnPooledThread$lambda$1(ThreadUtils.kt:72)
	at c.ij.oa.ap.impl.ApplicationImpl$3.call(ApplicationImpl.java:295)
	at c.ij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:86)
	at c.ij.util.concurrency.ContextCallable.call(ContextCallable.java:95)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at c.ij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:102)
	at c.ij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:102)
	at c.ij.util.concurrency.ChildContext.runInChildContext(propagation.kt:108)
	at c.ij.util.concurrency.ChildContext.runInChildContext(propagation.kt:102)
	at c.ij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Hi,

The current version of SonarQube for IntelliJ (formerly SonarLint) is 11.13. Can you upgrade and see if this is still replicable?

And if it is, can you share a verbose log from IDE startup through to the error?

 
Thx,
Ann

Thanks for your reply. Here’s the version I’m currently using:

image

And the los:

Regards,

Nicolas

1 Like

Hi Nicolas,

Thanks for the log! I’ve flagged this for the team.

 
Ann

Hey @nico , have you tried following the instructions from the error message?

Failed to retrieve credentials for connection ‘sonar’:
Failed to get saved credentials for connection ‘sonar’.
This may be caused by an issue with your system’s credential storage.
Check your IDE’s password storage settings in Settings > Appearance & Behavior > System Settings > Passwords.

We rely on the credential storage configured in your IntelliJ settings to store the SonarQube token.

You could also try deleting and re-creating the connection to see whether the issue persists.

Let us know how things stand, we’ll be happy to help you troubleshoot further!

Also, instead of sharing the SonarQube for IDE logs, you shared the one from IntelliJ itself - which does not help us. You can check this documentation page to understand how to find our logs.

Lastly, I have removed the logs you shared, as they contained a lot of information unrelated to SonarQube for IDE that could be sensitive.

Thanks!