Skip to content

The Jetbrains Plugin is not working with the new 1.0.2 version #4598

Open

Description

@Vildnex

Before submitting your bug report

Relevant environment info

- OS:Vanilla OS
- Continue version: 1.0.2
- IDE version: Android Studio 2024.3.1
- Model:
- config:
  
{
  "models": [
    {
      "title": "O3 Mini High",
      "provider": "openrouter",
      "model": "openai/o3-mini-high",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "Claude 3.7 Sonnet",
      "provider": "openrouter",
      "model": "anthropic/claude-3.7-sonnet",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "Claude 3.7 Sonnet (think)",
      "provider": "openrouter",
      "model": "anthropic/claude-3.7-sonnet:thinking",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "Qwen: Qwen-Max ",
      "provider": "openrouter",
      "model": "qwen/qwen-max",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "DeepSeek Chat",
      "provider": "openrouter",
      "model": "deepseek/deepseek-chat",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "DeepSeek R1",
      "provider": "openrouter",
      "model": "deepseek/deepseek-r1",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    },
    {
      "title": "Mistral Codestral 2501",
      "provider": "openrouter",
      "model": "mistralai/codestral-2501",
      "apiBase": "https://openrouter.ai/api/v1",
      "apiKey": "<OPENROUTER_KEY>",
      "requestOptions": {
        "extraBodyProperties": {
          "transforms": []
        }
      }
    }
  ],
  "tabAutocompleteModel": {
    "title": "Gemini 2 Flash",
    "provider": "openai",
    "model": "google/gemini-2.0-flash-001",
    "apiBase": "https://openrouter.ai/api/v1",
    "apiKey": "<OPENROUTER_KEY>",
    "requestOptions": {
      "extraBodyProperties": {
        "transforms": []
      }
    }
  },
  "customCommands": [
    {
      "name": "test",
      "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "embeddingsProvider": {
    "model": "voyage-code-3",
    "provider": "voyage",
    "apiKey": "<VOYAGE_KEY>"
  },
  "reranker": {
    "name": "voyage",
    "params": {
      "model": "rerank-2",
      "apiKey": "<VOYAGE_KEY>"
    }
  },
  "contextProviders": [
    {
      "name": "diff",
      "params": {
        "command": "git diff",
        "includeStagedChanges": true,
        "includeUnstagedChanges": true
      }
    },
    {
      "name": "folder"
    },
    {
      "name": "tree"
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}

Description

No response

To reproduce

  1. Install the plugin via the market place
  2. Restart the IDE
  3. the Continue.dev is not working.

Log output

JETBRAINS IDE PLUGGIN ERROR:

Unhandled exception in [ComponentManager(ProjectImpl@238505601), com.intellij.codeWithMe.ClientIdContextElementPrecursor@4beaac19, CoroutineName(com.intellij.openapi.wm.impl.ToolWindowManagerImpl), Dispatchers.Default]

java.lang.IllegalStateException: JCEF is not supported in this env or failed to initialize
	at com.intellij.ui.jcef.JBCefApp.getInstance(JBCefApp.java:222)
	at com.intellij.ui.jcef.JBCefBrowserBase.<init>(JBCefBrowserBase.java:175)
	at com.intellij.ui.jcef.JBCefBrowser.<init>(JBCefBrowser.java:36)
	at com.intellij.ui.jcef.JBCefBrowser.create(JBCefBrowser.java:116)
	at com.intellij.ui.jcef.JBCefBrowserBuilder.build(JBCefBrowserBuilder.java:136)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinueBrowser.<init>(ContinueBrowser.kt:35)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow$browser$2.invoke(ContinuePluginToolWindowFactory.kt:54)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow$browser$2.invoke(ContinuePluginToolWindowFactory.kt:51)
	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow.getBrowser(ContinuePluginToolWindowFactory.kt:51)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory$ContinuePluginWindow.getContent(ContinuePluginToolWindowFactory.kt:62)
	at com.github.continuedev.continueintellijextension.toolWindow.ContinuePluginToolWindowFactory.createToolWindowContent(ContinuePluginToolWindowFactory.kt:20)
	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:1058)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:992)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl$default(ToolWindowManagerImpl.kt:973)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.registerToolWindow$lambda$34(ToolWindowManagerImpl.kt:1193)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.registerToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:1206)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.registerToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:1089)
	at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$initToolWindow$3.invokeSuspend(ToolWindowManagerImpl.kt:582)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:44)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:218)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:355)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:354)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:916)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCorou


Continue.dev log error:

[info] Starting Continue core...
[2025-03-11T16:39:31] [info] Starting Continue core... 
[2025-03-11T16:39:31] Setup 
[2025-03-11T16:39:31] [binary] Core started 
[2025-03-11T16:39:31] Error loading remote config:  Error: ENOENT: no such file or directory, open '/home/vlad/.continue/.configs/localhost/config.json'
[2025-03-11T16:39:31] Error loading remotely set config.js:  Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/vlad/.continue/.configs/localhost/config.js' imported from /snapshot/continue/binary/out/index.js
[info] Starting Continue core...
[2025-03-11T16:40:14] [info] Starting Continue core... 
[2025-03-11T16:40:14] Setup 
[2025-03-11T16:40:14] [binary] Core started 
[2025-03-11T16:40:14] Error loading remote config:  Error: ENOENT: no such file or directory, open '/home/vlad/.continue/.configs/localhost/config.json'
[2025-03-11T16:40:14] Error loading remotely set config.js:  Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/vlad/.continue/.configs/localhost/config.js' imported from /snapshot/continue/binary/out/index.js
[info] Starting Continue core...
[2025-03-11T16:58:27] [info] Starting Continue core... 
[2025-03-11T16:58:27] Setup 
[2025-03-11T16:58:27] [binary] Core started 
[2025-03-11T16:58:27] Error loading remote config:  Error: ENOENT: no such file or directory, open '/home/vlad/.continue/.configs/localhost/config.json'
[2025-03-11T16:58:28] Error loading remotely set config.js:  Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/vlad/.continue/.configs/localhost/config.js' imported from /snapshot/continue/binary/out/index.js

Activity

  1. added
    ide:jetbrains
    kind:bug
    on Mar 11, 2025
  2. LeungChiNan commented on Mar 13, 2025

    @LeungChiNan

    I got the same issue and this work for me

    Image

  3. Vildnex commented on Mar 13, 2025

    @Vildnex
    Author

    @LeungChiNan this actually works :o thanks you so much 💯

  4. spottenn commented on Jun 23, 2025

    @spottenn

    worked for me.

  5. Patrick-Erichsen commented on Jun 25, 2025

    @Patrick-Erichsen
    Contributor

    Hmm @spottenn what was the issue you're having? Same as below?

    Unhandled exception in [ComponentManager(ProjectImpl@238505601), com.intellij.codeWithMe.ClientIdContextElementPrecursor@4beaac19, CoroutineName(com.intellij.openapi.wm.impl.ToolWindowManagerImpl), Dispatchers.Default]
    
  6. spottenn commented on Jun 25, 2025

    @spottenn

    @Patrick-Erichsen
    There were three different error messages, but I don't recall seeing that one when it the IDE started. I do see that one in my log. I don't remember exactly what the messages were, but one was something like: JCEF failed to load or is not compatible, another one was something about a tool window starting or initializing, and the third one was even less descriptive. Here's my log. They should all be in here somewhere.

    If it helps, I would always get the error when the IDE started, and it would be one or two of those messages above, but never all three, and it was unpredictable which message it would be.
    idea.log

  7. added a commit that references this issue on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ide:jetbrainskind:bugneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions