My Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Mac OS X x86_64
  • IDE: IntelliJ IDEA 2021.2
  • SonarLint: 6.4.3.42541
java.lang.UnsupportedOperationException
	at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:72)
	at java.base/java.util.ImmutableCollections$AbstractImmutableList.set(ImmutableCollections.java:110)
	at o.sl.ij.notifications.ProjectServerNotificationsSubscriber$ConfigureNotificationsAction.actionPerformed$lambda-1(ProjectServerNotificationsSubscriber.kt:200)
	at c.ij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:101)
	at c.ij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2183)
	at o.sl.ij.notifications.ProjectServerNotificationsSubscriber$ConfigureNotificationsAction.actionPerformed(ProjectServerNotificationsSubscriber.kt:193)
	at c.ij.notification.NotificationAction.actionPerformed(NotificationAction.java:32)
	at c.ij.oa.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:240)
	at c.ij.oa.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:261)
	at c.ij.oa.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:240)
	at c.ij.notification.Notification.fire(Notification.java:194)
	at c.ij.notification.impl.NotificationsManagerImpl.lambda$createActionPanel$9(NotificationsManagerImpl.java:733)
	at c.ij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:177)
	at c.ij.ui.components.labels.LinkLabel.doClick(LinkLabel.java:389)
	at c.ij.ui.components.labels.LinkLabel$MyMouseHandler.mouseReleased(LinkLabel.java:363)

Hello @Jeroen_Borgers,

Welcome to the community and thanks for raising this issue.

I identified some cases where this can happen and I created this ticket. I can’t provide an ETA for the fix. In your case as a workaround you can restart the IDE.

Thanks again
Damien

Thanks!