Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 17.0.6
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2022.3.3
  • SonarLint: 10.3.0.77475

Details: Current thread: Thread[sonarlint-vfs-events-notifier,6,main] 1054608075
Dispatch thread: false; isDispatchThread(): false
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 39071548

java.lang.Throwable: Read access is allowed from inside read-action (or EDT) only (see c.ij.oa.application.Application.runReadAction())
	at c.ij.oa.diagnostic.Logger.error(Logger.java:228)
	at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1013)
	at c.ij.workspaceModel.core.fileIndex.impl.NonIncrementalContributors.updateIfNeeded(NonIncrementalContributors.kt:39)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexData.getFileInfo(WorkspaceFileIndexData.kt:70)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:88)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSetWithCustomData(WorkspaceFileIndexImpl.kt:73)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.getModuleForFile(ProjectFileIndexImpl.java:134)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.getModuleForFile(ProjectFileIndexImpl.java:126)
	at c.ij.oa.module.ModuleUtilCore.findModuleForFile(ModuleUtilCore.java:80)
	at o.sl.ij.fs.DefaultVirtualFileSystemEventsHandler$findModule$2.invoke(DefaultVirtualFileSystemEventsHandler.kt:106)
	at o.sl.ij.fs.DefaultVirtualFileSystemEventsHandler$findModule$2.invoke(DefaultVirtualFileSystemEventsHandler.kt:106)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)

Hey there!

Can you try upgrading to v10.6.2 and see if the issue persists?