Skip to content

Continue plugin for PyCharm fails to load correctly #7018

@djpetti

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

Metadata

Metadata

Assignees

Labels

area:chatRelates to chat interfacearea:installationRelates to the installation processide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions