Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JB plugin] Internal error: Throwable #192

Open
anyulled opened this issue Nov 18, 2024 · 0 comments · May be fixed by #194
Open

[JB plugin] Internal error: Throwable #192

anyulled opened this issue Nov 18, 2024 · 0 comments · May be fixed by #194

Comments

@anyulled
Copy link

An internal error happened in the IDE plugin.

Message: (no message)

Stack trace

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.
  • OS: macOS 15.1
  • ARCH: aarch64
  • MODE: Cloud
  • LSP BUILD INFO: {"version":"0.10.3","commit":"1130d61dfe09a96279ec94882e51c28e234e6c9c","build_os":"macos-aarch64","rust_version":"rustc 1.82.0 (f6e511eec 2024-10-15)","cargo_version":"cargo 1.82.0 (8f40fc59f 2024-08-21)"}

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant