Skip to content

Continue is not working (NPE since IntelliJ update to 2025.2 #7285

Description

@boly38

Before submitting your bug report

Relevant environment info

config
- OS:Windows 11
- Continue version: 1.0.33
- IDE version: IntelliJ IDEA 2025.2 (Ultimate Edition) > Build #IU-252.23892.409, built on August 1, 2025
- Model: (In this case didnt success to show model combobox to select one)
- config:
  
name: Local Assistant
version: 1.2.0
schema: v1
models:

  - name: vertex_ai/claude3.5-sonnet-v2
    provider: openai
    model: vertex_ai/claude3.5-sonnet-v2
    apiBase: https://REDAAAAAAAAAAACTED
    apiKey: sk-REDAAAAAAAAAAACTED
    roles:
      - chat
      - autocomplete
      - edit
    defaultCompletionOptions:
      contextLength: 200000
      maxTokens: 8192
    capabilities:
      - tool_use
      - image_input

  (...)

prompts:
  - name: Write unit tests
    description: Write unit tests for highlighted code
    prompt: |
      Write 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.

context:
  - provider: code
  - provider: docs
  - provider: diff
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase

  
  OR link to agent in Continue hub:

Description

I m using IntelliJ with different project folder (ex. 2 IntelliJ IDE are open on 2 differents project)
In some case since latest IntelliJ Update, I've Continue Issue: unable to work with, open dedicated window nor query from code sample (edit/ask)

Here is details about NPE I reproduce

java.lang.NullPointerException: Cannot read field "isNull" because "robj" is null
    at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouterImpl.create(RemoteMessageRouterImpl.java:38)
(...)
  at com.github.continuedev.continueintellijextension.toolWindow.ContinueBrowser.<init>

(full stack below)

To reproduce

  1. Just open the IDE

Log output

IDE Popin + IDE Logs stack trace
java.lang.NullPointerException: Cannot read field "isNull" 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:65)
    at jcef/com.jetbrains.cef.remote.CefServer.onConnected(CefServer.java:122)
    at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouter.<init>(RemoteMessageRouter.java:63)
    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:503)
    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:495)
    at com.intellij.ui.jcef.JBCefBrowserBase.<init>(JBCefBrowserBase.java:179)
    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:703)
    at com.intellij.openapi.wm.impl.ToolWindowImpl.scheduleContentInitializationIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:683)
    at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doShowWindow(ToolWindowManagerImpl.kt:1095)
    at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:1031)
    at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:727)
    at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl$default(ToolWindowManagerImpl.kt:694)
    at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activated$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:2331)
    at com.intellij.openapi.wm.impl.SquareAnActionButton.setSelected(SquareStripeButton.kt:361)
    at com.intellij.openapi.actionSystem.ToggleAction.actionPerformed(ToggleAction.java:62)
    at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:243)
    at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:222)
    at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.performWithActionCallbacks(ActionManagerImpl.kt:1163)
    at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:221)
    at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:532)
    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:595)
    at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:540)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$16(IdeEventQueue.kt:479)
    at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:666)
    at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:640)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:479)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:313)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:865)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:312)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:974)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:118)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:974)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:307)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:347)
    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)

From troubleshooting page, I also have a look at Continue dedicated log file
I ve nothing at exactly the same timestamp
BUT at the beginning of the current day I've this kind of error multiple times

in `C:\Users\\.continue\logs`
Code: undefined
Error number: undefined
Syscall: undefined
Type: aborted

npe: The operation was aborted.
    at u (C:\snapshot\continue\binary\out\index.js:6785:3774)
    at AbortSignal.I (C:\snapshot\continue\binary\out\index.js:6785:3961)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:645:20)
    at AbortSignal.dispatchEvent (node:internal/event_target:587:26)
    at abortSignal (node:internal/abort_controller:292:10)
    at AbortController.abort (node:internal/abort_controller:322:5)
    at ziA.cancel (C:\snapshot\continue\binary\out\index.js:8449:2845)
    at PiA._createListenableGenerator (C:\snapshot\continue\binary\out\index.js:8449:3583)
    at PiA.getGenerator (C:\snapshot\continue\binary\out\index.js:8449:4055)
    at getGenerator.next (<anonymous>) 
[2025-08-21T08:56:01] npe: The operation was aborted. 
[2025-08-21T08:56:02] The operation was aborted.

Code: undefined
Error number: undefined
Syscall: undefined
Type: aborted

npe: The operation was aborted.
    at u (C:\snapshot\continue\binary\out\index.js:6785:3774)
    at AbortSignal.I (C:\snapshot\continue\binary\out\index.js:6785:3961)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:645:20)
    at AbortSignal.dispatchEvent (node:internal/event_target:587:26)
    at abortSignal (node:internal/abort_controller:292:10)
    at AbortController.abort (node:internal/abort_controller:322:5)
    at ziA.cancel (C:\snapshot\continue\binary\out\index.js:8449:2845)
    at PiA._createListenableGenerator (C:\snapshot\continue\binary\out\index.js:8449:3583)
    at PiA.getGenerator (C:\snapshot\continue\binary\out\index.js:8449:4055)
    at getGenerator.next (<anonymous>) 
[2025-08-21T08:56:02] npe: The operation was aborted. 

NB: I've not this folder `C:\snapshot`

Metadata

Metadata

Assignees

No one assigned

    Labels

    ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions