Error in SonarLint for IntelliJ: o.ss.sl.core.event.ConfigurationScopesAddedEvent

Environment:

  • Java: JetBrains s.r.o. 17.0.8.1
  • OS: Linux amd64
  • IDE: WebStorm 2023.2.3
  • SonarLint: 9.1.0.75538

*** exception class was changed or removed

   Exception thrown by subscriber method configurationScopesAdded(o.ss.sl.core.event.ConfigurationScopesAddedEvent) on subscriber o.ss.sl.core.VersionSoonUnsupportedHelper@209a228b when dispatching event: o.ss.sl.core.event.ConfigurationScopesAddedEvent@79c9a79d
   
   java.lang.IllegalStateException: Unable to get server status
	at o.ss.sl.core.serverapi.system.SystemApi.getStatusSync(SystemApi.java:55)
	at o.ss.sl.core.serverconnection.ServerInfoSynchronizer.synchronize(ServerInfoSynchronizer.java:40)
	at o.ss.sl.core.serverconnection.ServerInfoSynchronizer.lambda$readOrSynchronizeServerInfo$0(ServerInfoSynchronizer.java:34)
	at java.base/java.util.Optional.orElseGet(Optional.java:364)
	at o.ss.sl.core.serverconnection.ServerInfoSynchronizer.readOrSynchronizeServerInfo(ServerInfoSynchronizer.java:33)
	at o.ss.sl.core.serverconnection.ServerConnection.readOrSynchronizeServerVersion(ServerConnection.java:171)
	at o.ss.sl.core.VersionSoonUnsupportedHelper.checkIfSoonUnsupported(VersionSoonUnsupportedHelper.java:97)
	at o.ss.sl.core.VersionSoonUnsupportedHelper.lambda$checkIfSoonUnsupported$1(VersionSoonUnsupportedHelper.java:89)
	at java.base/java.util.HashMap.forEach(HashMap.java:1421)
	at o.ss.sl.core.VersionSoonUnsupportedHelper.checkIfSoonUnsupported(VersionSoonUnsupportedHelper.java:89)
	at o.ss.sl.core.VersionSoonUnsupportedHelper.configurationScopesAdded(VersionSoonUnsupportedHelper.java:68)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Hello @Diego_Betto,

Thanks for the report. We already fixed this problem and it should disappear at the next release of SonarLint IntelliJ (end of next month). In the meantime, you can simply ignore the error

1 Like