continue icon indicating copy to clipboard operation
continue copied to clipboard

Progressively slows down and locks up in Webstorm 2025.1

Open chubshaun opened this issue 1 year ago • 18 comments

Before submitting your bug report

Relevant environment info

- OS: Apple M1 Max 32GB, MacOS 14.6.1 (23G93) 
- Continue version: 1.0.10 (also in 1.0.8)
- IDE version: WebStorm 2025.1 
- Model: Claude 3.5
- config:
  
{
  "models": [
    {
      "model": "claude-3-5-sonnet-latest",
      "contextLength": 200000,
      "title": "Claude 3.5 Sonnet",
      "apiKey": "sk-***",
      "provider": "anthropic",
      "cacheBehavior": {
        "cacheSystemMessage": true,
        "cacheConversation": true
      }
    },
    {
      "model": "claude-3-7-sonnet-latest",
      "contextLength": 200000,
      "title": "Claude 3.7 Sonnet",
      "apiKey": "sk-***",
      "provider": "anthropic"
    },
    {
      "model": "claude-3-7-sonnet-latest",
      "contextLength": 200000,
      "title": "Claude 3.7 (Thinking)",
      "apiKey": "sk-***",
      "provider": "anthropic",
      "completionOptions": {
        "temperature": 1,
        "topP": 0.999,
        "maxTokens": 32000,
        "reasoning": true,
        "reasoningBudgetTokens": 16000
      }
    },
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  }
}

Description

Since upgrading to Webstorm 2025.1, using the Continue Chat works for a few queries, then if I minimize the IDE for some extended amount of time or leave it running the background, the Continue Chat Section is unresponsive, e.g. can't click on any buttons, use hotkey to start a new Chat, closing/opening has no effect. The only way to fix it is to completely restart Webstorm.

Initially happened in 1.0.8 so went to the EAP build 1.0.10 but it still occurs. It feels like a memory leak is occurring somewhere.

To reproduce

Load Webstorm Load a repository Use Continue Chat Background usage of Mac Come back to IDE Observe Continue has crashed.

It is very reproducible, and from the Jetbrains Review section for the Continue plugin - it would appear that others are having similar issues.

Continue Settings

  • Tab autocomplete is disabled. (I only use the Continue sidebar)
  • Off-screen Rendering is enabled

Log output

Core Log


info] Starting Continue core...
[2025-04-17T20:25:58] [info] Starting Continue core... 
[2025-04-17T20:25:58] Setup 
[2025-04-17T20:25:58] [binary] Core started 
[2025-04-17T20:26:00] error when indexing:  Error: Table 'fileUsersspedicinisrcc-syncbetavectordbbRAnomic-embed-text500' already exists
[2025-04-17T20:26:00] Indexing failed with error:  Error: Table 'fileUsersspedicinisrcchubsyncbetavectordbbRAnomic-embed-text500' already exists 


20 minutes later the Continue plugin locked up. Don't know what these indexing errors or how to fix them, but they don't appear related to the problem.

chubshaun avatar Apr 17 '25 22:04 chubshaun

Going to add - is there a run book for dealing these Indexing errors? I've been using Continue 1.0.8 for weeks without any issues particularly around asking a question "With CodeBase" and now with the update to Webstorm 2025.1 (in addition to the freezes), the embeddings system also seems broken as it only injects a single file (the same file) every time.

Reindexing shows "259 files reindexed" but doesn't make any difference:

[2025-04-17T22:56:22] [binary] Core started 
[2025-04-17T22:56:24] LanceDBIndex, skipping file:///Users//src//catalog-ai/catalog%20ai.drawio: Error: did not chunk properly 
[2025-04-17T22:56:43] error when indexing:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists
[2025-04-17T22:56:43] Indexing failed with error:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists 
[2025-04-17T22:56:52] Table not found in LanceDB fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500
[2025-04-17T22:57:05] LanceDBIndex, skipping file:///Users//src//catalog-ai/catalog%20ai.drawio: Error: did not chunk properly 
[2025-04-17T22:57:25] error when indexing:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists
[2025-04-17T22:57:25] Indexing failed with error:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists 
[2025-04-17T22:57:44] Table not found in LanceDB fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500
[2025-04-17T22:57:59] Table not found in LanceDB fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500

I'm adding directly to this ticket on the off-chance that the issues may be related.

chubshaun avatar Apr 17 '25 23:04 chubshaun

Maybe your cpu is exhausted by the process 'continue-bin' for code indexing. (CPU 100%)

zilaikes avatar Apr 18 '25 05:04 zilaikes

Maybe your cpu is exhausted by the process 'continue-bin' for code indexing. (CPU 100%)

I do see the continue-binary but it never exceeds around 50% of the CPU, and when it finishes up goes back to ~0%.

The error is pretty consistent:

2025-04-18T16:24:07] [info] Starting Continue core... 
[2025-04-18T16:24:07] Setup 
[2025-04-18T16:24:07] [binary] Core started 
[2025-04-18T16:24:09] LanceDBIndex, skipping file:///Users//src/catalog-ai/catalog%20ai.drawio: Error: did not chunk properly 
[2025-04-18T16:24:29] error when indexing:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists
[2025-04-18T16:24:29] Indexing failed with error:  Error: Table 'fileUserssrccatalog-aimainvectordbbRAnomic-embed-text500' already exists 

I might just try completely deleting my Continue hidden folder / uninstalling the plugin and see if that makes a difference.

chubshaun avatar Apr 18 '25 16:04 chubshaun

Yeah @chubshaun I would recommend just clearing your index folder. Thanks for the writeup here though, good to be aware of.

Please report back if it works for you after clearing!

Patrick-Erichsen avatar Apr 22 '25 19:04 Patrick-Erichsen

This issue should be related to #5600

ruchernchong avatar May 11 '25 06:05 ruchernchong

Hi all, we are going to prioritize this in the near term. I've created a main issue to track all reports of slows downs/freezes with the JetBrains extension in this issue: https://github.com/continuedev/continue/issues/5819

Patrick-Erichsen avatar May 23 '25 18:05 Patrick-Erichsen

@chubshaun @ruchernchong can you check if this is resolved in the new 1.0.21 version?

RomneyDa avatar Jun 02 '25 18:06 RomneyDa

@chubshaun @ruchernchong can you check if this is resolved in the new 1.0.21 version?

Problem still persist. But this time, it takes longer for the problem to show up.

ruchernchong avatar Jun 04 '25 13:06 ruchernchong

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Sep 03 '25 02:09 github-actions[bot]

I'm also experiencing this issue very often.

Also, oftentimes it crashes with this log when reopening the tool window:

java.lang.NullPointerException: Cannot read field "objId" because "robj" is null
	at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouterImpl.create(RemoteMessageRouterImpl.java:38)
	at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouter.lambda$new$4(RemoteMessageRouter.java:64)
	at jcef/com.jetbrains.cef.remote.CefServer.onConnected(CefServer.java:95)
	at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouter.<init>(RemoteMessageRouter.java:62)
	at jcef/org.cef.browser.CefMessageRouter.create(CefMessageRouter.java:219)
	at jcef/org.cef.browser.CefMessageRouter.create(CefMessageRouter.java:203)
	at com.intellij.ui.jcef.JBCefApp.createMessageRouter(JBCefApp.java:402)
	at com.intellij.ui.jcef.JBCefJSQuery$JSQueryFunc.<init>(JBCefJSQuery.java:246)
	at com.intellij.ui.jcef.JBCefClient$JSQueryPool.<init>(JBCefClient.java:188)
	at com.intellij.ui.jcef.JBCefClient$JSQueryPool.create(JBCefClient.java:178)
	at com.intellij.ui.jcef.JBCefClient.lambda$new$0(JBCefClient.java:97)
	at com.intellij.ui.jcef.JBCefClient.<init>(JBCefClient.java:105)
	at com.intellij.ui.jcef.JBCefApp.createClient(JBCefApp.java:394)
	at com.intellij.ui.jcef.JBCefBrowserBase.<init>(JBCefBrowserBase.java:176)
	at com.intellij.ui.jcef.JBCefBrowser.<init>(JBCefBrowser.java:37)
	at com.intellij.ui.jcef.JBCefBrowser.create(JBCefBrowser.java:132)
	at com.intellij.ui.jcef.JBCefBrowserBuilder.build(JBCefBrowserBuilder.java:136)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinueBrowser.<init>(ContinueBrowser.kt:28)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow$browser$2.invoke(ContinuePluginToolWindowFactory.kt:62)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow$browser$2.invoke(ContinuePluginToolWindowFactory.kt:59)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow.getBrowser(ContinuePluginToolWindowFactory.kt:59)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow.getContent(ContinuePluginToolWindowFactory.kt:68)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory.createToolWindowContent(ContinuePluginToolWindowFactory.kt:23)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.createContentIfNeeded(ToolWindowImpl.kt:689)
	at com.intellij.openapi.wm.impl.ToolWindowImpl.scheduleContentInitializationIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:669)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doShowWindow(ToolWindowManagerImpl.kt:1095)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:1029)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:726)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl$default(ToolWindowManagerImpl.kt:693)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activated$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:2367)
	at com.intellij.openapi.wm.impl.SquareAnActionButton.setSelected(SquareStripeButton.kt:358)
	at com.intellij.openapi.actionSystem.ToggleAction.actionPerformed(ToggleAction.java:62)
	at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:239)
	at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:219)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.performWithActionCallbacks(ActionManagerImpl.kt:1167)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.kt:405)
	at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:219)
	at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:535)
	at java.desktop/java.awt.Component.processEvent(Component.java:6438)
	at java.desktop/java.awt.Container.processEvent(Container.java:2266)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5043)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4871)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4963)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4577)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4518)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2810)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4871)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:783)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:755)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:753)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:752)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:585)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:530)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$16(IdeEventQueue.kt:473)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction$lambda$6(AnyThreadWriteThreadingSupport.kt:274)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithTemporaryThreadLocal(AnyThreadWriteThreadingSupport.kt:204)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:274)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runPreventiveWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:218)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:473)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:307)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:864)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:306)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:958)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:117)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:958)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:301)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:341)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

TheLonelyAdventurer avatar Sep 05 '25 07:09 TheLonelyAdventurer

@TheLonelyAdventurer which program/version are you using?

RomneyDa avatar Sep 06 '25 22:09 RomneyDa

java.lang.NullPointerException: Cannot read field "objId" because "robj" is null - I believe this was resolved quite a while ago

Patrick-Erichsen avatar Sep 15 '25 21:09 Patrick-Erichsen

Seeing this in intelliJ all the time too. The plugin eventually freezes in its panel. Rest of IDE works. Affecting about 10-15 people.

bdavj avatar Sep 22 '25 13:09 bdavj

@exigow - have you seen any additional reports of the java.lang.NullPointerException: Cannot read field "objId" because "robj" is null error returning?

Patrick-Erichsen avatar Sep 22 '25 23:09 Patrick-Erichsen

I also experience this, but only at one of my projects, the others work fine. It used to work just fine a week ago. Now it freezes completely in every half an our or so. I'm on 2025.3 version

OliverfromTriyit avatar Oct 08 '25 08:10 OliverfromTriyit

#8085

Hakenadu avatar Nov 24 '25 23:11 Hakenadu

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Feb 23 '26 02:02 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Mar 06 '26 02:03 github-actions[bot]