Error in SonarLint for IntelliJ 2021.2 - not sure what happened

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Windows 10 amd64
  • IDE: PyCharm 2021.2
  • SonarLint: 5.2.0.35150

Details: Current thread: Thread[ApplicationImpl pooled thread 7,4,main] 49574952
; dispatch thread: false; isDispatchThread(): false
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 1689568310

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:200)
	at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:969)
	at c.ij.oa.roots.impl.RootIndex.<init>(RootIndex.java:63)
	at c.ij.oa.roots.impl.RootIndex.<init>(RootIndex.java:56)
	at c.ij.oa.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:176)
	at c.ij.oa.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:159)
	at c.ij.oa.roots.impl.DirectoryIndexImpl.getInfoForFile(DirectoryIndexImpl.java:186)
	at c.ij.oa.roots.impl.FileIndexBase.getInfoForFileOrDirectory(FileIndexBase.java:96)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.getInfoForFileOrDirectory(ProjectFileIndexImpl.java:27)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.isInTestSourceContent(ProjectFileIndexImpl.java:210)
	at c.ij.oa.roots.ProjectRootTestSourcesFilter.isTestSource(ProjectRootTestSourcesFilter.java:25)
	at c.ij.oa.roots.TestSourcesFilter.isTestSources(TestSourcesFilter.java:31)
	at o.sl.ij.analysis.SonarLintAnalyzer.createClientInputFile(SonarLintAnalyzer.java:159)
	at o.sl.ij.module.ModuleFileSystem$files$3$1.processFile(ModuleFileSystem.kt:49)

Hello @Joachim_Mreyen and welcome to the community!
Thank you for your report.
I’ve created a bug based on your report and you can track progress on it here.
Have a great day!