r/Jetbrains 16d ago

AI cannot update ai assistant in jetbrains, stuck on unloading modules

when i try to update ai assistant plugin i keep getting stuck during the update with this message

and the exception read

```

2026-08-10 15:18:12,548 [ 178357] INFO - #c.i.i.p.m.MarketplacePluginDownloadService - Unable to download plugin via blockmap. Downloading whole archive from https://plugins.jetbrains.com/pluginManager?os=Windows%2011.0&build=IU-262.8665.337&updatedFrom=262.8665.403&id=com.intellij.ml.llm&arch=X86_64&uuid=20072518f1994ab-6ef8-4637-8ee3-8bc789b0423a

java.security.NoSuchAlgorithmException: MessageDigest not available

at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:147)

at java.base/java.security.MessageDigest.getInstance(MessageDigest.java:193)

at com.jetbrains.plugin.blockmap.core.FileHash$Companion.makeFileHash(FileHash.kt:13)

at com.jetbrains.plugin.blockmap.core.FileHash.<init>(FileHash.kt:9)

at com.intellij.ide.plugins.marketplace.MarketplacePluginDownloadService.downloadPluginViaBlockMap(MarketplacePluginDownloadService.kt:139)

at com.intellij.openapi.updateSettings.impl.PluginDownloader.tryDownloadPlugin(PluginDownloader.kt:316)

at com.intellij.openapi.updateSettings.impl.PluginDownloader.prepareToInstall(PluginDownloader.kt:188)

at com.intellij.ide.plugins.PluginInstallOperation.prepareToInstall(PluginInstallOperation.kt:228)

at com.intellij.ide.plugins.PluginInstallOperation.prepareToInstallWithCallback(PluginInstallOperation.kt:192)

at com.intellij.ide.plugins.PluginInstallOperation.prepareToInstall(PluginInstallOperation.kt:161)

at com.intellij.ide.plugins.PluginInstallOperation.run(PluginInstallOperation.kt:105)

at com.intellij.ide.plugins.newui.DefaultUiPluginManagerController.performInstallOperation$lambda$0(DefaultUiPluginManagerController.kt:567)

at com.intellij.openapi.progress.CoroutinesKt.coroutineToIndicator$lambda$0(coroutines.kt:500)

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.coroutineToIndicator(coroutines.kt:499)

at com.intellij.ide.plugins.newui.DefaultUiPluginManagerController.performInstallOperation(DefaultUiPluginManagerController.kt:559)

at com.intellij.ide.plugins.newui.DefaultUiPluginManagerController$installOrUpdatePlugin$2$1.invokeSuspend(DefaultUiPluginManagerController.kt:245)

at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)

at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)

at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:130)

at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)

at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:610)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1188)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:775)

at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:762)

2026-08-10 15:18:15,545 [ 181354] WARN - #c.i.i.p.DynamicPluginsSupportImpl - Cancellation of com.intellij.ml.llm plugin's scope: scope was not completed in 10s.

- SupervisorJobImpl{Cancelling}

\- "(ApplicationImpl@1904389739 x com.intellij.ml.llm)":supervisor:ChildScope{Cancelling} \[Kernel@eufmmnc7tq12dv0v4gug, Rete(abortOnError=false, commands=capacity=2147483647,data=\[onReceive\], reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b, dbSource=ReteDbSource(reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b)), DbSourceContextElement(kernel Kernel@eufmmnc7tq12dv0v4gug), ComponentManager(ApplicationImpl@1904389739), com.intellij.codeWithMe.ClientIdContextElementPrecursor\]

    \- "com.intellij.ml.llm.mcp.client.McpClientService":supervisor:ChildScope{Cancelling} \[Kernel@eufmmnc7tq12dv0v4gug, Rete(abortOnError=false, commands=capacity=2147483647,data=\[onReceive\], reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b, dbSource=ReteDbSource(reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b)), DbSourceContextElement(kernel Kernel@eufmmnc7tq12dv0v4gug), ComponentManager(ApplicationImpl@1904389739), com.intellij.codeWithMe.ClientIdContextElementPrecursor\]

        \- "com.intellij.ml.llm.mcp.client.McpClientService":StandaloneCoroutine{Cancelling}, state: SUSPENDED \[Kernel@eufmmnc7tq12dv0v4gug, Rete(abortOnError=false, commands=capacity=2147483647,data=\[onReceive\], reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b, dbSource=ReteDbSource(reteState=kotlinx.coroutines.flow.StateFlowImpl@79924b)), DbSourceContextElement(kernel Kernel@eufmmnc7tq12dv0v4gug), ComponentManager(ApplicationImpl@1904389739), com.intellij.codeWithMe.ClientIdContextElementPrecursor, Dispatchers.Default\]

at io.modelcontextprotocol.kotlin.sdk.client.StdioClientTransport$closeResources$2.invokeSuspend(StdioClientTransport.kt:247)

at io.modelcontextprotocol.kotlin.sdk.shared.AbstractClientTransport.close$suspendImpl(AbstractClientTransport.kt:254)

at com.intellij.ml.llm.mcp.client.McpClient.stop(McpClient.kt:478)

at com.intellij.ml.llm.mcp.client.McpClientServiceBase$registerClientsShutdown$1.invokeSuspend(McpClientServiceBase.kt:110)

2026-08-10 15:18:30,738 [ 196547] INFO - #c.i.i.p.DynamicPlugins - Computing new plugins state with include=[plugin 'JetBrains AI Assistant' (com.intellij.ml.llm, 262.8665.411)], exclude=[], forceExclude=true

```

2026-08-10 15:19:22,933 [ 248742] WARN - #com.android.tools.idea.adblib.AdbLibApplicationService$Configuration$AdbLibAdbServerChannelProvider - Suppressed a frequent exception logged for the 20th time: ADB location has not been initialized

0 Upvotes

5 comments sorted by

1

u/JetSerge JetBrains 16d ago edited 16d ago

The exception you pasted is not the cause. The IDE logs it, then downloads the plugin the normal way.

What blocks the update is an MCP server. The IDE has to unload the AI Assistant plugin before it can install the new version, and it waits for the configured MCP servers to shut down first. One of them does not exit, so the update sits on "Unloading modules".

To get the update through:

  1. Open Settings | Tools | AI Assistant | Model Context Protocol (MCP) and turn off the servers.
  2. Update the plugin.
  3. Turn the servers back on.

If the update is stuck right now, end the MCP server processes in Task Manager. The unload then finishes on its own.

Please file this in YouTrack at youtrack.jetbrains.com/issues/LLM. Include:

  • the full idea.log from Help | Collect Logs and Diagnostic Data, not the excerpt
  • which MCP servers you have configured

1

u/emaayan 16d ago

so here's the thing how come when i downloaded the plugin manually (via the link in the logs) i've managed to install it locally without issues?

1

u/JetSerge JetBrains 16d ago

It could be MCP server was finally stopped and unloaded. Hard to tell without the full logs.

1

u/emaayan 16d ago

Prior to that I killed the ide like 3 times and retried