Skip to content

Continue plugin for PyCharm fails to load correctly #7018

Closed as not planned
Closed as not planned

Description

@djpetti

Before submitting your bug report

Relevant environment info

- OS: Ubuntu 24
- Continue version: 1.0.30
- IDE version: PY-252.23892.439
- Model: Codestral-202501
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Gemma 12b
    provider: ollama
    model: gemma3:12b
    apiBase: http://bsail-jetson.ad.ufl.edu:11434
    roles:
      - chat
  - name: Codestral
    provider: openai
    apiKey: <redacted>
    model: mistralai/codestral-2501
    apiBase: https://openrouter.ai/api/v1
    roles:
      - edit
      - apply
      - autocomplete
    defaultCompletionOptions:
      contextLength: 262144
  - name: All-MiniLM
    provider: ollama
    model: all-minilm:latest
    apiBase: http://bsail-jetson.ad.ufl.edu:11434
    roles:
      - embed

context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  
  OR link to assistant in Continue hub:

Description

Upon opening the IDE after installing the plugin, I get this error:

Unhandled exception in Dispatchers.IO

java.io.IOException: Stream closed
	at java.base/java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:447)
	at java.base/java.io.OutputStream.write(OutputStream.java:167)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:125)
	at java.base/java.io.BufferedOutputStream.implFlush(BufferedOutputStream.java:252)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:246)
	at java.base/sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:412)
	at java.base/sun.nio.cs.StreamEncoder.lockedFlush(StreamEncoder.java:214)
	at java.base/sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:201)
	at java.base/java.io.OutputStreamWriter.flush(OutputStreamWriter.java:262)
	at com.github.continuedev.continueintellijextension.continue.process.ContinueProcessHandler$2.invokeSuspend(ContinueProcessHandler.kt:45)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	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:613)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1183)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@52a90262, Dispatchers.IO]

The continue plugin then fails to work correctly. Opening the chat, I can't select a model. It is stuck on "loading configuration..."

To reproduce

  1. Install plugin
  2. Restart IDE

Log output

[info] Starting Continue core...
[2025-08-06T15:34:21] [info] Starting Continue core...
[2025-08-06T15:34:21] Setup
[2025-08-06T15:34:21] [binary] Core started
[info] Starting Continue core...
[2025-08-06T15:34:23] [info] Starting Continue core...
[2025-08-06T15:34:23] Setup
[2025-08-06T15:34:23] [binary] Core started
[info] Starting Continue core...
[2025-08-06T15:34:24] [info] Starting Continue core...
[2025-08-06T15:34:24] Setup
[2025-08-06T15:34:24] [binary] Core started

Activity

  1. added
    area:chat
    area:installation
    ide:jetbrains
    kind:bug
    os:linux
    on Aug 6, 2025
  2. djpetti commented on Aug 6, 2025

    @djpetti
    Author

    Interestingly, the exact same config.yaml (and the exact same plugin version) work fine in CLion, just not in PyCharm.

  3. djpetti commented on Aug 6, 2025

    @djpetti
    Author

    Some more debugging info: I have the issue with version 1.0.30 and 1.0.24, but not 1.0.21.

  4. dfcvgfhvghkhvdfgjbvhjdfs commented on Aug 7, 2025

    @dfcvgfhvghkhvdfgjbvhjdfs

    have the same issue with:
    macos Version 15.5
    ruby mine Build #RM-252.23892.415, built on August 1, 2025
    continue 1.0.30

  5. chezsmithy commented on Aug 7, 2025

    @chezsmithy
    Contributor

    Do you happen to see an indexing error along with this? There was a fix I made to unblock config loading when indexing might fail, and to fix the underlying indexing issue. Fix is in eap versions.

  6. djpetti commented on Aug 7, 2025

    @djpetti
    Author

    I do not see any indexing errors. I also tried with the latest eap version and saw the same issue.

  7. djpetti commented on Aug 8, 2025

    @djpetti
    Author

    Interestingly, the exact same config.yaml (and the exact same plugin version) work fine in CLion, just not in PyCharm.

    Spoke too soon: I also see this issue in CLion, just not as frequently.

  8. ivanlen commented on Aug 26, 2025

    @ivanlen
    Contributor

    Same error on pycharm using 1.0.33
    continue works fine on vscode, fails on pycharm

  9. djpetti commented on Sep 30, 2025

    @djpetti
    Author

    FWIW, I'm not seeing this anymore with the latest versions of the plugin. Should we close this issue, or is anyone still having it?

  10. github-actions commented on Dec 30, 2025

    @github-actions
    Contributor

    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.

  11. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

    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!

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

Metadata

Metadata

Assignees

Labels

area:chatarea:installationide:jetbrainskind:bugos:linuxstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions