SonarQube for Visual Studio doesn't work

Hi team,

This is my environment,

  • Operating system: Windows Server 2022
  • Visual Studio version: 17.14.18 (October 2025)
  • SonarQube for Visual Studio plugin version: 8.28.0.51499
  • Programming language you’re coding in: TypeScript
  • Is connected mode used: Yes, to SonarQube Cloud

When I open Visual Studio, I cannot see anything related with SonarQube, and in output, this is shown:


[DEBUG] [ThreadId 76] [SLCore] [sonarlint > sonarlint-analysis-scheduler] java.lang.NullPointerExceptionat java.base/java.util.Objects.requireNonNull(Objects.java:208)at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:216)at java.base/java.nio.file.Path.of(Path.java:147)at java.base/java.nio.file.Paths.get(Paths.java:69)

I attached the full log in verbose level

Error.log (2.1 KB)

Error2.log (9.7 KB)

Could you please help me.

Hi,

Welcome to the community and thanks for this report!

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

 
Thx,
Ann

Hi,

I’ve updated Sonar to version 8.30, but the same issue persists. Initially, after keeping Visual Studio open with the extension installed, the error does not appear. However, if I clone a new repository, the error reoccurs.

Do you have any idea what could be the root cause of this?

Hi,

Thanks for trying the update! Can you give us a verbose log from IDE startup to the error?

 
Thx,
Ann

Hi,

Sure, this is the error log in verbose mode from startup Visual Studio.

sonar.log (137.5 KB)

Thank you,

Chris.

Hi Chris,

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

 
Ann

Hi @Chris We’ve recently fixed a similar bug in the version 9.0. Could you give it a try and see if it still happens?

1 Like