Error in SonarLint for IntelliJ 23423tgvasd

Environment:

  • Java: JetBrains s.r.o. 17.0.8.1
  • OS: Linux amd64
  • IDE: CLion 2023.3 EAP
  • SonarLint: 9.0.0.75308
java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc.
	at c.ij.oa.diagnostic.Logger.error(Logger.java:376)
	at c.ij.util.SlowOperations.assertSlowOperationsAreAllowed(SlowOperations.java:95)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:130)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:75)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:247)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSetWithCustomData(WorkspaceFileIndexImpl.kt:230)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.getModuleForFile(ProjectFileIndexImpl.java:97)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.getModuleForFile(ProjectFileIndexImpl.java:90)
	at o.sl.ij.ui.FindingDetailsPanel.show(FindingDetailsPanel.kt:75)
	at o.sl.ij.ui.AbstractIssuesPanel.issueTreeSelectionChanged(AbstractIssuesPanel.java:82)
	at o.sl.ij.ui.AbstractIssuesPanel.lambda$createIssuesTree$0(AbstractIssuesPanel.java:114)
	at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:3021)
	at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3522)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:650)
	at c.ij.ui.treeStructure.Tree$MySelectionModel.fireValueChanged(Tree.java:665)

Hi @cezaryece, thank you for your report.

We are aware of this issue and we have this ticket on our side. This issue comes from version 2023.3 of IntelliJ (CLion in your case), as a workaround you can downgrade to the latest non-EAP version available, which is currently 2023.2.2.

Thank you