continue icon indicating copy to clipboard operation
continue copied to clipboard

Jetbrains Plugin is freezing once you open more instances of the IDE

Open markusweisssiemens opened this issue 1 year ago • 10 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 10 Enterprise
- Continue version: 1.0.16
- IDE version: IntelliJ IDEA 2025.1.1.1
- Model: gpt-4o
- config:
  
{
  "models": [
    {
      "title": "OpenAI",
      "provider": "azure",
      "model": "gpt-4o",
      "engine": "gpt-4o",
      "apiKey": "my-api-key",
      "apiVersion": "2024-06-01",
      "apiType": "azure",
      "apiBase": "https://mydomain.openai.azure.com/",
      "deployment": "gpt-4o"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": ""
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "contextProviders": [
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}
  
  OR link to assistant in Continue hub:

Description

Once I open multiple instances of IntelliJ (select new Window and work for e.g. an hour) the Continue plugin freezes and I'm not able to input a prompt, scroll the history... The IDE reacts normal and once I close all instances and start once instance again it's also working.

To reproduce

  1. Open IntelliJ
  2. Ask some questions in the Continue chat
  3. Open another IntelliJ window and another and close others again
  4. After some time plugin freezes and doesn't work anymore

Log output


markusweisssiemens avatar May 14 '25 13:05 markusweisssiemens

I also get freezed under macOS 15.4.1. I think it has something to do with upgrading to IDEA 2025.1. Maybe JCEF has changed.

henshao avatar May 21 '25 06:05 henshao

That is a good guess @henshao

@markusweisssiemens - are you still able to use autocomplete? Any chance that downgrading to a lower version of IntelliJ solves the issue? That would help us confirm whether or not it's JCEF.

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

Yes, I can still use autocomplete, only chat freezes. I see many people report the same problem about IDEA 2025.1. https://intellij-support.jetbrains.com/hc/en-us/community/posts/26163450313618-IntelliJ-IDEA-2025-1-freezing-after-every-sleep https://youtrack.jetbrains.com/issue/IDEA-371415/After-upgrading-to-2025.1-GitHub-Copilot-suggestions-freezes-hangs-the-IDE https://youtrack.jetbrains.com/issue/WEB-72543/Cannot-debug-my-project-Cannot-read-field-objId-because-robj-is-null

henshao avatar May 23 '25 16:05 henshao

@henshao thanks for collecting those related issues! Added a comment to https://github.com/continuedev/continue/issues/5819

Patrick-Erichsen avatar Jun 01 '25 19:06 Patrick-Erichsen

Sorry for the late response, but @henshao has anyway already answered the question - thanks!

markusweisssiemens avatar Jun 10 '25 09:06 markusweisssiemens

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 09 '25 02:09 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 Sep 20 '25 02:09 github-actions[bot]

Plugin still freezes often in IntelliJ IDEA 2025.2.3 Continue IDE Version 1.0.48 on multiple machines in my organization

faetschi avatar Oct 28 '25 12:10 faetschi

Plugin still freezes too. IntelliJ IDEA 2025.2.4 Continue IDE Version 1.0.47 & 1.0.48 I use the plugin by making requests. Everything works fine. I minimize the plugin windows and after a certain delay, the interface becomes frozen. And eventually nothing is displayed anymore : Image

vilasyra59 avatar Oct 29 '25 15:10 vilasyra59

https://github.com/continuedev/continue/issues/8085#issuecomment-3578897691

the bug is being actively investigated in this thread

faetschi avatar Nov 26 '25 06:11 faetschi