java.lang.Throwable: Do not perform a synchronous refresh under read lock (causes deadlocks if there are events to fire)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:66)
at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:125)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.processEvents(RefreshQueueImpl.java:195)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.createAndFindChildWithEventFire(VirtualDirectoryImpl.java:316)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:91)
at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.refreshAndFindChild(VirtualDirectoryImpl.java:358)
at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:118)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:65)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane.showPatch$lambda$15(SharedChatPane.kt:407)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction$lambda$3(AnyThreadWriteThreadingSupport.kt:219)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:264)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:219)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:852)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane.showPatch(SharedChatPane.kt:406)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane.handlePatchShow(SharedChatPane.kt:431)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane.handleEvent(SharedChatPane.kt:492)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane.access$handleEvent(SharedChatPane.kt:53)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane$browser$2$1$1.invokeSuspend(SharedChatPane.kt:512)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:111)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$BuildersKt__BuildersKt(Builders.kt:84)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:52)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane$browser$2$1.invoke(SharedChatPane.kt:511)
at com.smallcloud.refactai.panes.sharedchat.SharedChatPane$browser$2$1.invoke(SharedChatPane.kt:510)
at com.smallcloud.refactai.panes.sharedchat.browser.ChatWebView$addMessageHandler$1.invoke(ChatWebView.kt:131)
at com.smallcloud.refactai.panes.sharedchat.browser.ChatWebView$addMessageHandler$1.invoke(ChatWebView.kt:127)
at com.smallcloud.refactai.panes.sharedchat.browser.ChatWebView.addMessageHandler$lambda$0(ChatWebView.kt:127)
at com.intellij.ui.jcef.JBCefJSQuery$1.onQuery(JBCefJSQuery.java:123)
Environment
Plugin version: 5.2.0
IDE: IntelliJ IDEA 2024.2.4 Build #IU-242.23726.103
JDK: 21.0.4; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
An internal error happened in the IDE plugin.
Message: (no message)
Stack trace
Environment
Additional information