Error in SonarLint for IntelliJ 2023-09-25 21:05 UTC-05:00


  • Java: JetBrains s.r.o. 17.0.8
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2023.2.2
  • SonarLint:
java.lang.UnsupportedOperationException: Not implemented in c.ij.oa.ui.impl.GlassPaneDialogWrapperPeer
	at c.ij.oa.ui.impl.GlassPaneDialogWrapperPeer.getOwner(
	at c.ij.oa.ui.DialogWrapper.getOwner(
	at c.ij.oa.progress.util.ProgressWindow.isPartOf(
	at c.ij.oa.application.impl.LaterInvocator.isInModalContext(
	at c.ij.oa.wm.impl.WindowCloseListener.windowClosing(ProjectFrameHelper.kt:453)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosing(
	at java.desktop/java.awt.Window.processWindowEvent(
	at java.desktop/javax.swing.JFrame.processWindowEvent(
	at java.desktop/java.awt.Window.processEvent(
	at java. Desktop/java.awt.Component.dispatchEventImpl(
	at java.desktop/java.awt.Container.dispatchEventImpl(
	at java.desktop/java.awt.Window.dispatchEventImpl(
	at java.desktop/java.awt.Component.dispatchEvent(
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(
	at java.desktop/java.awt.EventQueue$
	at java.desktop/java.awt.EventQueue$
	at java.base/
	at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(


Welcome to the community and thanks for this report!

Under what circumstances did you get this error?


We get the same error. It happens intermittently. The UI freeze for a while and then I get the button to submit error in Rider enabled.

1 Like


Do you remember if any specific actions triggered this UI freeze, or if a process within the IDE was running in the background for instance?

We would appreciate it if you could share the full stack trace, as well as the thread dumps when the UI freeze happens. You can follow this documentation to retrieve the dumps.


It happens randomly, but often when debugging unit-tests.

I get message that I have no access when trying to access the linked documentation.

1 Like

Oopsy, it was somehow a wrong link, here is the documentation, sorry!

Here’s a fresh error from Rider.


  • Java: JetBrains s.r.o.
  • OS: Windows 10 amd64
  • IDE: JetBrains Rider 2023.3 EAP 1
  • SonarLint:
java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc.
	at c.ij.oa.diagnostic.Logger.error(
	at c.ij.util.SlowOperations.assertSlowOperationsAreAllowed(
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:128)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:74)
	at c.ij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:239)
	at c.ij.oa.roots.impl.ProjectFileIndexImpl.isUnderIgnored(
	at c.ij.oa.roots.impl.ProjectFileIndexFacade.isUnderIgnored(
	at c.ij.psi.impl.file.impl.FileManagerImpl.isExcludedOrIgnored(
	at c.ij.psi.impl.file.impl.FileManagerImpl.findDirectoryImpl(
	at c.ij.psi.impl.file.impl.FileManagerImpl.findDirectory(
	at c.ij.psi.impl.PsiManagerImpl.findDirectory(
	at c.ij.psi.AbstractFileViewProvider.shouldCreatePsi(
	at c.ij.psi.SingleRootFileViewProvider.createFile(
	at c.ij.psi.SingleRootFileViewProvider.getPsiInner(
	at c.ij.psi.AbstractFileViewProvider.getPsi( (26.1 MB)
Here’s a collected log zip from rider. Hope you can find the error. There seems to be some other internal Rider errors too.

Alright, I can test out any pre-release version if you have any avalible in the future.

Here’s another stack trace I got just now.

c.ij.oa.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action or Event Dispatch Thread (EDT) only (see Application.runReadAction()); see for details
Current thread: Thread[AWT-EventQueue-0,6,main] 1480744024 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
	at c.ij.util.concurrency.ThreadingAssertions.createThreadAccessException(
	at c.ij.util.concurrency.ThreadingAssertions.softAssertReadAccess(
	at c.ij.oa.application.impl.ApplicationImpl.assertReadAccessAllowed(
	at c.ij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(
	at c.ij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(
	at c.ij.psi.impl.source.PsiFileImpl.isValid(
	at c.ij.ui.ColoredTreeCellRenderer.rendererComponentInner(
	at c.ij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(
	at c.ij.ui.tree.ui.DefaultTreeUI.getRenderer(
	at c.ij.ui.tree.ui.DefaultTreeUI.paint(

Thank you for all the information you provided.

The 2023.3 version of IntelliJ, currently in EAP, received changes regarding the threading model. This requires modification on our side that we partly identified and that we are working on. While waiting for the next version of SonarLint, which should mitigate some of the issues you are facing, I invite you to switch to the latest non-EAP-released version of Rider, currently 2023.2.2. Also, please note that a lot of the issues present in the logs are not related to SonarLint.

We have these 2 tickets ([SLI-966] - Jira, [SLI-1116] - Jira) on our side regarding this topic.

Regarding java.lang.UnsupportedOperationException: Not implemented in c.ij.oa.ui.impl.GlassPaneDialogWrapperPeer, I couldn’t see a link with SonarLint with the given information we have. If any of you face this error again, please don’t hesitate to provide more details and the full stack trace.


Will you manage to release a fixed version by the time Rider 2023.3 goes public? If not, I’ll need to tell our coworkers to not update Rider for the time being.

Hi @MarkusSchaber, we have released SonarLint version 10.0, which should fix most of the issues regarding the latest EAP versions. Please come back to us if you find any other remaining problems that went under our radar.

Also, note that the EAP versions are constantly being updated every week, and due to the nature of our monthly release cadence, we cannot always fix the problems in time when they appear.

1 Like

Hi, @nicolas.quinquenel,
I still get some freezes. However, I cannot yet definitely confirm that those are caused by SonarLint, as I don’t get the stack traces pointing to SonarLint as I did before the update.

Thank you for your feedback @MarkusSchaber, I am trying to identify any potential issue on our side.

If it ever happens again, please share with us a heap dump. It would be helpful for us to see any threading or memory issues. Also, in case of thread locks, IntelliJ automatically saves thread dumps into the logs directory, so do not hesitate to share this as well.

We have occasional freezes using SonarLint 10.0 on 2 machines here, using the Rider Versions 2023.2.3 and 2023.3 EAP 5 (233.11361.12).
We also had freezes using the previous SonarLint and Rider 2023.3 EAP 5 on my machine (the coworker didn’t try).
As far as we remember, the freezes did not happen with previous SonarLint version and Rider 2023.2.2 or older.
The updates to SonarLint 10.0 and Rider 2023.2.2 to 2023.2.3 happened at the same time, so we cannot pinpoint which of the two changes caused it.

I’ll try to get thread dumps if possible.

1 Like

Hi @MarkusSchaber,

The UI freezes is a separate problem and we just released a new version to fix them. Could you please try to update and see if the problem goes away?

Yes, it looks like the 10.0.1 release fixes those freezes, with both 2023.2.x and 2023.3 previews.

Thanks for your efforts!