Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 17.0.8
  • OS: Linux amd64
  • IDE: IntelliJ IDEA 2023.2.2
  • SonarLint: 10.7.0.78874
java.lang.IllegalArgumentException: node does not have a parent.
	at java.desktop/javax.swing.tree.DefaultTreeModel.removeNodeFromParent(DefaultTreeModel.java:275)
	at o.sl.ij.ui.tree.SecurityHotspotTreeModelBuilder.removeFile(SecurityHotspotTreeModelBuilder.java:176)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at o.sl.ij.ui.tree.SecurityHotspotTreeModelBuilder.updateModel(SecurityHotspotTreeModelBuilder.java:105)
	at o.sl.ij.ui.ReportPanel.updateFindings(ReportPanel.java:148)
	at o.sl.ij.ui.ReportPanel.refreshView(ReportPanel.java:446)
	at o.sl.ij.actions.SonarLintToolWindow.updateTab(SonarLintToolWindow.java:141)
	at o.sl.ij.actions.SonarLintToolWindow.refreshViews(SonarLintToolWindow.java:206)
	at o.sl.ij.cayc.CleanAsYouCodeService.refresh(CleanAsYouCodeService.kt:52)
	at o.sl.ij.cayc.CleanAsYouCodeService.setFocusOnNewCode(CleanAsYouCodeService.kt:39)
	at o.sl.ij.actions.SonarFocusOnNewCode.setSelected(SonarFocusOnNewCode.kt:35)
	at c.ij.oa.actionSystem.ToggleAction.actionPerformed(ToggleAction.java:48)
	at c.ij.oa.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:227)
	at c.ij.oa.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:206)
	at c.ij.oa.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:362)
	at c.ij.oa.actionSystem.impl.ActionButton.performAction(ActionButton.java:206)
	at c.ij.oa.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:520)

Hello @Cothn, thank you for your report! We already have the following ticket in our backlog for this issue. We will try to tackle it in a future release.