NullPointerException in SonarLint for IntelliJ


  • Java: JetBrains s.r.o. 17.0.8
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2023.2.1
  • SonarLint:

*** exception class was changed or removed

  Exception thrown by subscriber method handleEvent( on subscriber when dispatching event:
  java.lang.NullPointerException: Cannot invoke "" because "this.sonarCloudWebSocket" is null
at jdk.internal.reflect.GeneratedMethodAccessor1644.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.base/java.util.concurrent.ThreadPoolExecutor$
at java.base/

Hello @nicholasfechner,

Thanks for reporting here. Could you provide more details about when this error occurred?

Iā€™m not sure. The notification appeared in IntelliJs sidebar and the resulting dialog posted this.

Hi @nicholasfechner ,

I managed to reproduce the issue and I fixed it.

The issue does not have any impact on the SonarLint functionality, so for future readers, you can simply ignore the error.

The fix will be published in our next release planned at the end of this month.

Thanks again for the report

1 Like