You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action or Event Dispatch Thread (EDT) only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
#47
Open
wychenlong opened this issue
May 29, 2024
· 0 comments
Please include steps to reproduce (like go to.../click on... etc.) + expected and actual behaviour.
For non-trivial issues, we would also appreciate if you included the following details (if not filled in automatically):
Running environment
Graph Buddy plugin version - 1.0.1
IDE - IntelliJ IDEA 2023.2.3
Operating system - Mac OS X 14.3
IDEA - Stack trace
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action or Event Dispatch Thread (EDT) only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[DefaultDispatcher-worker-31,5,main] 1827952211 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 630428029
at com.intellij.openapi.application.impl.ApplicationImpl.createThreadAccessException(ApplicationImpl.java:1083)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1038)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:132)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:74)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:240)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSetWithCustomData(WorkspaceFileIndexImpl.kt:225)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:147)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:141)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.excludeSemanticGraphsDirectory$$anonfun$1(GraphBuddyStartupActivity.scala:21)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.Option.foreach(Option.scala:437)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.excludeSemanticGraphsDirectory(GraphBuddyStartupActivity.scala:28)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.runActivity$$anonfun$2(GraphBuddyStartupActivity.scala:34)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.Option.foreach(Option.scala:437)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.runActivity(GraphBuddyStartupActivity.scala:47)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1$1.invoke(StartupManagerImpl.kt:484)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1$1.invoke(StartupManagerImpl.kt:482)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:248)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:199)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1.invokeSuspend(StartupManagerImpl.kt:482)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
IDEA - additional info
N/A
Screenshots
If applicable, add screenshots (or screen recordings, see Peek on Linux)
to help explain your problem.
The text was updated successfully, but these errors were encountered:
Bug description
Please include steps to reproduce (like
go to...
/click on...
etc.) + expected and actual behaviour.For non-trivial issues, we would also appreciate if you included the following details (if not filled in automatically):
Running environment
IDEA - Stack trace
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action or Event Dispatch Thread (EDT) only (see Application.runReadAction()); see https://jb.gg/ij-platform-threading for details
Current thread: Thread[DefaultDispatcher-worker-31,5,main] 1827952211 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 630428029
at com.intellij.openapi.application.impl.ApplicationImpl.createThreadAccessException(ApplicationImpl.java:1083)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1038)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:132)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:74)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:240)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSetWithCustomData(WorkspaceFileIndexImpl.kt:225)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:147)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:141)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.excludeSemanticGraphsDirectory$$anonfun$1(GraphBuddyStartupActivity.scala:21)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.Option.foreach(Option.scala:437)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.excludeSemanticGraphsDirectory(GraphBuddyStartupActivity.scala:28)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.runActivity$$anonfun$2(GraphBuddyStartupActivity.scala:34)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.Option.foreach(Option.scala:437)
at com.virtuslab.semanticgraphs.intellijplugin.GraphBuddyStartupActivity.runActivity(GraphBuddyStartupActivity.scala:47)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1$1.invoke(StartupManagerImpl.kt:484)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1$1.invoke(StartupManagerImpl.kt:482)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:248)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:199)
at com.intellij.ide.startup.impl.StartupManagerImplKt$launchBackgroundPostStartupActivity$1.invokeSuspend(StartupManagerImpl.kt:482)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
IDEA - additional info
N/A
Screenshots
If applicable, add screenshots (or screen recordings, see Peek on Linux)
to help explain your problem.
The text was updated successfully, but these errors were encountered: