Closed NicoMadry closed 7 months ago
The 2023.X releases are end-of-life. Please upgrade to the EAP or patiently wait for the general availability.
Same error still happens in IntelliJ 2024.1 (Build #IU-241.14494.240, built on March 28, 2024) with the newest plugin version 9.2.1.
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[AWT-EventQueue-0,6,main] 989989281 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:180)
at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:131)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:908)
at com.intellij.psi.impl.source.PsiFileImpl.assertReadAccessAllowed(PsiFileImpl.java:182)
at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:617)
at com.intellij.psi.impl.source.PsiFileImpl.getGreenStubTree(PsiFileImpl.java:952)
at com.intellij.psi.impl.source.SpineRef.getGreenStub(SpineRef.java:33)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getGreenStub(StubBasedPsiElementBase.java:343)
at com.intellij.extapi.psi.StubBasedPsiElementBase.getParent(StubBasedPsiElementBase.java:308)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:620)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:609)
at com.intellij.psi.util.PsiTreeUtil.getParentOfType(PsiTreeUtil.java:536)
at com.intellij.psi.util.PsiTreeUtil.getStubOrPsiParentOfType(PsiTreeUtil.java:559)
at com.intellij.psi.presentation.java.ClassPresentationUtil.getContextName(ClassPresentationUtil.java:73)
at com.intellij.psi.presentation.java.ClassPresentationUtil.getContextName(ClassPresentationUtil.java:67)
at com.intellij.psi.presentation.java.ClassPresentationUtil.getNameForClass(ClassPresentationUtil.java:39)
at com.intellij.codeInsight.daemon.impl.quickfix.StaticImportMemberQuestionAction.getElementPresentableName(StaticImportMemberQuestionAction.java:188)
at com.intellij.codeInsight.daemon.impl.quickfix.StaticImportMemberQuestionAction$1.getTextFor(StaticImportMemberQuestionAction.java:133)
at com.intellij.codeInsight.daemon.impl.quickfix.StaticImportMemberQuestionAction$1.getTextFor(StaticImportMemberQuestionAction.java:95)
at com.intellij.ui.popup.list.PopupListElementRenderer$1.getTextFor(PopupListElementRenderer.java:54)
at com.intellij.ui.popup.list.GroupedItemsListRenderer.getListCellRendererComponent(GroupedItemsListRenderer.java:38)
at com.intellij.codeInsight.daemon.impl.quickfix.StaticImportMemberQuestionAction.lambda$chooseAndImport$1(StaticImportMemberQuestionAction.java:148)
at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24)
at java.desktop/javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:275)
at com.mallowigi.idea.ui.MTListUI.paintCell(MTListUI.kt:121)
at java.desktop/javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:383)
at java.desktop/javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:306)
at com.mallowigi.idea.ui.MTListUI.paint(MTListUI.kt:56)
at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:845)
at com.intellij.ui.components.JBList.paintComponent(JBList.java:192)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1115)
at com.intellij.ui.components.JBList.paint(JBList.java:113)
at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5312)
at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1668)
at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1643)
at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1580)
at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:272)
at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1347)
at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5260)
at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5070)
at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:882)
at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:865)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:865)
at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:838)
at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:787)
at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1909)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:698)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:593)
at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:105)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1021)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1021)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:393)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Describe the bug
Using the free version of the Plugin in Jetbrains IntelliJ on MacOS can create error reports in multiple different circumstances and IDE features. The Problem does not crash the IDE but it will spawn an error report which accumulates over time.
The feature I identified to semi-consistently reproduce the problem, is using the symbols search using ( option + command + o ). I know there are other combinations or circumstances which cause this error to be caused too but didn't previously pay close attention to what triggered it. However it seems even when I found something that triggered the error 2-3 times in a row it then suddenly stops causing the problem for an indefinite time.
The exception StackTrace is the following:
To Reproduce
Expected behavior
The error is not triggered
Material Theme Version
8.13.2
IDE
IntelliJ IDEA
System Info
Logs/Screenshots