intellij-elixir icon indicating copy to clipboard operation
intellij-elixir copied to clipboard

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details, Current thread: Thread[AWT-EventQueue-0,6,main] 1660335718 (EventQueue.isDispatchThread()=true), SystemEventQueueThread: (same) at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:149)

Open jzpeterson opened this issue 5 months ago • 0 comments

System

Plugin Version: 17.0.0 Application: IntelliJ IDEA Ultimate Edition (2023.3.3) Operating System: Windows 11 (10.0)

Event

Exception

Stacktrace

com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[AWT-EventQueue-0,6,main] 1660335718 (EventQueue.isDispatchThread()=true)
SystemEventQueueThread: (same)
	at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:149)
	at com.intellij.util.concurrency.ThreadingAssertions.softAssertReadAccess(ThreadingAssertions.java:107)
	at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1012)
	at com.intellij.psi.impl.source.tree.TreeElement.assertReadAccessAllowed(TreeElement.java:421)
	at com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:234)
	at com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:217)
	at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:133)
	at org.elixir_lang.psi.Module.name(Module.kt:29)
	at org.elixir_lang.navigation.item_presentation.modular.Module$Companion.presentableText(Module.kt:51)
	at org.elixir_lang.navigation.item_presentation.modular.Module.getPresentableText(Module.kt:45)
	at org.elixir_lang.navigation.item_presentation.modular.Module.getLocatedPresentableText(Module.kt:31)
	at org.elixir_lang.structure_view.element.CallDefinition.getPresentation(CallDefinition.kt:106)
	at org.elixir_lang.structure_view.element.CallDefinitionClause.getPresentation(CallDefinitionClause.kt:52)
	at com.intellij.ide.util.PSIRenderingUtils.getNavigationItemAttributesStatic(PSIRenderingUtils.java:48)
	at com.intellij.ide.util.PsiElementListCellRenderer.getNavigationItemAttributes(PsiElementListCellRenderer.java:225)
	at com.intellij.ide.actions.SearchEverywherePsiRenderer.customizeNonPsiElementLeftRenderer(SearchEverywherePsiRenderer.java:110)
	at com.intellij.ide.util.PsiElementListCellRenderer$LeftRenderer.customizeCellRenderer(PsiElementListCellRenderer.java:191)
	at com.intellij.ui.ColoredListCellRenderer.getListCellRendererComponent(ColoredListCellRenderer.java:45)
	at com.intellij.ide.util.PsiElementListCellRenderer.getListCellRendererComponent(PsiElementListCellRenderer.java:264)
	at com.intellij.ide.actions.searcheverywhere.PSIPresentationBgRendererWrapper$WrapperRenderer.getListCellRendererComponent(PSIPresentationBgRendererWrapper.java:143)
	at com.intellij.ide.actions.searcheverywhere.SEResultsListFactory.getNonMoreElementRenderer(SEResultsListFactory.java:95)
	at com.intellij.ide.actions.searcheverywhere.MixedListFactory$1.getListCellRendererComponent(MixedListFactory.java:80)

jzpeterson avatar Feb 03 '24 19:02 jzpeterson