Error in SonarLint for IntelliJ 07.06.2023


  • Java: JetBrains s.r.o. 17.0.6
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2023.1.1
  • SonarLint:
java.lang.Throwable: Read access is allowed from inside read-action (or EDT) only (see c.ij.oa.application.Application.runReadAction())
Current thread: Thread[ApplicationImpl pooled thread 393,4,main] 1932379351 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 748275076
	at c.ij.oa.diagnostic.Logger.error(
	at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:127)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:70)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:220)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.isExcluded(
	at c.ij.oa.progress.impl.CoreProgressManager.startTask(

Hi @dim777,

Your version is quite outdated, could you please upgrade to the latest one and see if it happens again?

Thanks for using SonarLint!

Sorry Nicolas version of what? It’s intellij version 2023.1.1

I apologize if it was not clear, I was mentioning your SonarLint version. The latest SonarLint version is 8.3 whereas yours is 6.7. If you upgrade it, this issue should be fixed.

Oh thank you Nicolas! I don’t know why but latest plugin version was not available in intellij - so i download latest version from intellij marketplace and installed manually. It’s OK now - thank you one again!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.