-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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
- Graph Buddy plugin version - 1.0.1
- IDE - IntelliJ IDEA 2025.2.4
- Operating system - Windows 11 10.0
IDEA - Stack trace
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from inside read-action only (see Application.runReadAction()); If you access or modify model on EDT consider wrapping your code in WriteIntentReadAction or ReadAction; see https://jb.gg/ij-platform-threading for details
Current thread: Thread[#345,DefaultDispatcher-worker-38,5,main] 986359000 (EventQueue.isDispatchThread()=false)
SystemEventQueueThread: Thread[#38,AWT-EventQueue-0,10,main] 1945846547
at com.intellij.util.concurrency.ThreadingAssertions.createThreadAccessException(ThreadingAssertions.java:257)
at com.intellij.util.concurrency.ThreadingAssertions.throwThreadAccessException(ThreadingAssertions.java:248)
at com.intellij.util.concurrency.ThreadingAssertions.assertReadAccess(ThreadingAssertions.java:138)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:286)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:226)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:358)
at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSetWithCustomData(WorkspaceFileIndexImpl.kt:318)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:167)
at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getContentRootForFile(ProjectFileIndexImpl.java:161)
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.invokeSuspend(StartupManagerImpl.kt:486)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
IDEA - additional info
N/A
Screenshots
If applicable, add screenshots (or screen recordings, see Peek on Linux)
to help explain your problem.