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: ExecutionException #213

Open
zhan0 opened this issue Jan 22, 2025 · 0 comments
Open

[JB plugin] Internal error: ExecutionException #213

zhan0 opened this issue Jan 22, 2025 · 0 comments

Comments

@zhan0
Copy link

zhan0 commented Jan 22, 2025

An internal error happened in the IDE plugin.

Message: Unhandled exception in [CoroutineName(com.intellij.internal.statistic.service.fus.collectors.ProjectFUStateUsagesLogger), StandaloneCoroutine{Cancelling}@4528152, Dispatchers.Default]

Stack trace

java.util.concurrent.ExecutionException: org.apache.hc.core5.http2.H2StreamResetException: Timeout due to inactivity (30 SECONDS)
	at org.apache.hc.core5.concurrent.BasicFuture.getResult(BasicFuture.java:72)
	at org.apache.hc.core5.concurrent.BasicFuture.get(BasicFuture.java:85)
	at com.smallcloud.refactai.lsp.LSPProcessHolder.fetchCustomization(LSPProcessHolder.kt:269)
	at com.smallcloud.refactai.code_lens.RefactCodeVisionProviderFactory.createProviders(RefactCodeVisionProviderFactory.kt:37)
	at com.intellij.codeInsight.codeVision.CodeVisionProviderFactory$Companion.createAllProviders(CodeVisionProviderFactory.kt:16)
	at com.intellij.codeInsight.codeVision.settings.CodeVisionInlaySettingProvider.createModels(CodeVisionInlaySettingProvider.kt:15)
	at com.intellij.codeInsight.hints.InlayProviderUsageCollector.getMetrics(InlayProviderUsageCollector.kt:128)
	at com.intellij.internal.statistic.service.fus.collectors.ProjectUsagesCollector.collect$suspendImpl(ProjectUsagesCollector.kt:79)
	at com.intellij.internal.statistic.service.fus.collectors.ProjectUsagesCollector.collect(ProjectUsagesCollector.kt)
	at com.intellij.internal.statistic.service.fus.collectors.ProjectFUStateUsagesLogger$logProjectState$2$1.invokeSuspend(FUStateUsagesLogger.kt:233)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	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)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(com.intellij.internal.statistic.service.fus.collectors.ProjectFUStateUsagesLogger), StandaloneCoroutine{Cancelled}@4528152, Dispatchers.Default]
Caused by: org.apache.hc.core5.http2.H2StreamResetException: Timeout due to inactivity (30 SECONDS)
	at org.apache.hc.core5.http2.impl.nio.AbstractH2StreamMultiplexer.onTimeout(AbstractH2StreamMultiplexer.java:558)
	at org.apache.hc.core5.http2.impl.nio.AbstractH2IOEventHandler.timeout(AbstractH2IOEventHandler.java:83)
	at org.apache.hc.core5.http2.impl.nio.ClientH2IOEventHandler.timeout(ClientH2IOEventHandler.java:39)
	at org.apache.hc.core5.reactor.InternalDataChannel.onTimeout(InternalDataChannel.java:169)
	at org.apache.hc.core5.reactor.InternalChannel.checkTimeout(InternalChannel.java:67)
	at org.apache.hc.core5.reactor.SingleCoreIOReactor.checkTimeout(SingleCoreIOReactor.java:241)
	at org.apache.hc.core5.reactor.SingleCoreIOReactor.validateActiveChannels(SingleCoreIOReactor.java:168)
	at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:130)
	at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:86)
	at org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44)
	at java.base/java.lang.Thread.run(Thread.java:840)

Environment

  • Plugin version: 5.2.0
  • IDE: WebStorm 2023.3.4 Build #WS-233.14475.40
  • JDK: 17.0.10; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
  • OS: macOS 15.0.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

No branches or pull requests

1 participant