Skip to content

弹出报错 #6482

Description

@yc-2018

📝 问题描述

突然弹出来的 当时没没有用

显示:
[Thread 7466] Failed to process command ideGetElementType - timed out

🏷 插件版本

3.9.1

🔁 翻译引擎

百度翻译

💻 IDE及运行环境

WebStorm 2026.2.1
Build #WS-262.9437.145, built on August 5, 2026
Source revision: 4002840eb51b8
授权给 ckey.run
您有此版本的永久回退许可证。
订阅有效期至 2099年12月31日。
Runtime version: 25.0.3+9-b508.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
异常报告器 ID: 180825130bb0bbd-1107-438a-9ae0-fb1d9986afa3
JCEF 版本: 144.0.15-262-b37
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048MiB
Cores: 16
Registry:
  vcs.log.index.enable=true
  ide.experimental.ui=true
  trace.state.event.service.url=https://api.jetbrains.cloud/trace-status
  ide.images.show.chessboard=true
  terminal.new.ui=true
Non-Bundled Plugins:
  com.haojiyou.CharAutoReplace (2.0.0-beta1)
  Docker (262.9437.196)
  com.github.x0x0b.codex-launcher (1.1.17)
  ru.adelf.idea.dotenv (262.9437.286)
  com.naming.code-Plugin (2.2)
  github.actions.helper (1.6.0)
  com.intellij.mcpServer (262.9437.214)
  intellij.prettierJS (262.9437.195)
  com.qoder (2026.917.73315602)
  cn.yiiguxing.plugin.translate (3.9.1)
  com.github.yc556.treeinfotip (6.1.0)
  hg4idea (262.8665.173)
  PerforceDirectPlugin (262.8665.176)
  Subversion (262.9437.286)
  com.intellij.wechat.miniprogram (262.8665.173)

📋 堆栈跟踪

[Thread 7466] Failed to process command ideGetElementType - timed out

java.lang.RuntimeException: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 20000 ms
	at com.intellij.lang.javascript.service.CommandQueue.awaitAnswerCancellable(CommandQueue.kt:373)
	at com.intellij.lang.javascript.service.CommandQueue.access$awaitAnswerCancellable(CommandQueue.kt:46)
	at com.intellij.lang.javascript.service.CommandQueue$awaitAnswerCancellable$1.invokeSuspend(CommandQueue.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:36)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:101)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:47)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:98)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:112)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$BuildersKt__BuildersKt(Builders.kt:87)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlockingWithParallelismCompensation(Builders.kt:63)
	at kotlinx.coroutines.BuildersKt.runBlockingWithParallelismCompensation(Unknown Source)
	at kotlinx.coroutines.internal.intellij.IntellijCoroutines.runBlockingWithParallelismCompensation(intellij.kt:48)
	at com.intellij.util.IntelliJCoroutinesFacade.runBlockingWithParallelismCompensation(IntelliJCoroutinesFacade.kt:35)
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable$lambda$0(coroutines.kt:163)
	at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext$lambda$1$0(context.kt:123)
	at com.intellij.concurrency.ThreadContext.resetThreadContext(threadContext.kt:295)
	at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext$lambda$1(context.kt:122)
	at com.intellij.openapi.progress.impl.CoreProgressManager.silenceGlobalIndicator(CoreProgressManager.java:1126)
	at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext(context.kt:121)
	at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:92)
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:154)
	at com.intellij.openapi.progress.CoroutinesKt.runBlockingCancellable(coroutines.kt:137)
	at com.intellij.lang.typescript.tsc.ComputeInCoroutineKt.computeInCoroutine$executeAsBlocking(computeInCoroutine.kt:23)
	at com.intellij.lang.typescript.tsc.ComputeInCoroutineKt.computeInCoroutine(computeInCoroutine.kt:49)
	at com.intellij.lang.typescript.tsc.TypeScriptServiceEvaluationSupportBase.executeCommand(TypeScriptServiceEvaluationSupportBase.kt:648)
	at com.intellij.lang.typescript.tsc.TypeScriptServiceEvaluationSupportBase.sendGetElementTypeCommandAndDeserializeResponse(TypeScriptServiceEvaluationSupportBase.kt:309)
	at com.intellij.lang.typescript.tsc.TypeScriptServiceEvaluationSupportBase.getOrComputeElementType(TypeScriptServiceEvaluationSupportBase.kt:152)
	at com.intellij.lang.typescript.tsc.TypeScriptServiceEvaluationSupportBase.getElementType$lambda$0(TypeScriptServiceEvaluationSupportBase.kt:124)
	at com.intellij.lang.javascript.service.JSLanguageServiceTracerUtilKt.withServiceTraceSpan(JSLanguageServiceTracerUtil.kt:42)
	at com.intellij.lang.typescript.tsc.TypeScriptServiceEvaluationSupportBase.getElementType(TypeScriptServiceEvaluationSupportBase.kt:122)
	at com.intellij.lang.typescript.tsc.TypeScriptCompilerEvaluationFacade.getTypeFromService(TypeScriptCompilerEvaluationFacade.kt:218)
	at com.intellij.lang.typescript.tsc.TypeScriptCompilerEvaluationFacade.getTypeFromService(TypeScriptCompilerEvaluationFacade.kt:199)
	at com.intellij.lang.typescript.tsc.TypeScriptCompilerEvaluationFacade.getTSTypeFromService(TypeScriptCompilerEvaluationFacade.kt:71)
	at com.intellij.lang.typescript.tsc.JSServicePoweredTypeEngineEvaluatorImpl.getTSTypeFromService(TypeScriptCompilerEvaluationFacade.kt:266)
	at com.intellij.lang.javascript.documentation.JSDocumentationBuilder.calculateEvaluatedType(JSDocumentationBuilder.java:787)
	at com.intellij.lang.javascript.documentation.JSDocumentationBuilder.lambda$fillEvaluatedType$0(JSDocumentationBuilder.java:761)
	at com.intellij.lang.javascript.evaluation.JSTypeEvaluationLocationProvider.withTypeEvaluationLocation(JSTypeEvaluationLocationProvider.kt:45)
	at com.intellij.lang.javascript.documentation.JSDocumentationBuilder.fillEvaluatedType(JSDocumentationBuilder.java:758)
	at com.intellij.lang.javascript.documentation.JSDocumentationProvider.doGenerateDoc(JSDocumentationProvider.java:451)
	at com.intellij.lang.javascript.documentation.JSDocumentationProvider.lambda$generateDoc$0(JSDocumentationProvider.java:317)
	at com.intellij.lang.javascript.evaluation.JSTypeEvaluationLocationProvider.withTypeEvaluationLocation(JSTypeEvaluationLocationProvider.kt:343)
	at com.intellij.lang.javascript.documentation.JSDocumentationProvider.generateDoc(JSDocumentationProvider.java:316)
	at com.intellij.lang.javascript.documentation.JSDocumentationProvider.getDocumentationParts(JSDocumentationProvider.java:458)
	at com.intellij.lang.documentation.CompositeDocumentationProvider.getDocumentationParts(CompositeDocumentationProvider.java:299)
	at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDocParts(PsiElementDocumentationTarget.kt:120)
	at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDoc(PsiElementDocumentationTarget.kt:103)
	at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.doComputeDocumentation(PsiElementDocumentationTarget.kt:90)
	at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.computeDocumentation$lambda$0(PsiElementDocumentationTarget.kt:84)
	at com.intellij.openapi.progress.CoroutinesKt.jobToIndicator$lambda$0(coroutines.kt:587)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$0(CoreProgressManager.java:287)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$0(CoreProgressManager.java:756)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:832)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:788)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:755)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:87)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:271)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
	at com.intellij.openapi.progress.CoroutinesKt.jobToIndicator(coroutines.kt:575)
	at com.intellij.openapi.progress.CoroutinesKt.contextToIndicator(coroutines.kt:557)
	at com.intellij.openapi.progress.CoroutinesKt.blockingContextToIndicator(coroutines.kt:533)
	at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.computeDocumentation(PsiElementDocumentationTarget.kt:83)
	at cn.yiiguxing.plugin.translate.documentation.TranslatableDocumentationTarget.computeDocumentation(TranslatableDocumentationTarget.kt:90)
	at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invokeSuspend$lambda$0(impl.kt:52)
	at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:123)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$0(InternalReadAction.kt:113)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0$0(cancellableReadAction.kt:38)
	at com.intellij.openapi.application.RunnableToLambda.invoke(coroutines.kt:343)
	at com.intellij.openapi.application.RunnableToLambda.invoke(coroutines.kt:341)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:907)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1278)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0(cancellableReadAction.kt:36)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:91)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:160)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0(cancellableReadAction.kt:34)
	at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:307)
	at com.intellij.concurrency.ThreadContext.installThreadContext$default(threadContext.kt:304)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:30)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:112)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:98)
	at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:85)
	at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:23)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invokeSuspend(InternalReadAction.kt:64)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:62)
	at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:76)
	at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
	at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:68)
	at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:33)
	at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invokeSuspend(impl.kt:49)
	at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invoke(impl.kt)
	at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invoke(impl.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.platform.backend.documentation.impl.ImplKt.computeDocumentation(impl.kt:47)
	at com.intellij.lang.documentation.ide.impl.DocumentationPage.loadPage(DocumentationPage.kt:45)
	at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.handleBrowserRequest(DocumentationBrowser.kt:107)
	at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.access$handleBrowserRequest(DocumentationBrowser.kt:34)
	at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invokeSuspend(DocumentationBrowser.kt:59)
	at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invoke(DocumentationBrowser.kt)
	at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invoke(DocumentationBrowser.kt)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:213)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:30)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:20)
	at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:360)
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:134)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:53)
	at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:44)
	at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:29)
	at kotlinx.coroutines.flow.internal.FlowValueWrapperInternalKt.emitInternal(FlowValueWrapperInternal.kt:39)
	at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:397)
	at kotlinx.coroutines.flow.SharedFlowImpl.collect(SharedFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invokeSuspend(Merge.kt:23)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invoke(Merge.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invoke(Merge.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
	at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:286)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest.flowCollect(Merge.kt:21)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo$suspendImpl(ChannelFlow.kt:153)
	at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo(ChannelFlow.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:56)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runDefaultDispatcherTask(CoroutineScheduler.kt:1194)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:906)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)
Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 20000 ms
	at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:189)
	at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:157)
	at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:505)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:105)
	at java.base/java.lang.Thread.run(Thread.java:1474)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions