Repository navigation
Closed
Labels
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavior
Description
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: macOS
- Continue version: 1.0.16
- IDE version: 2025.1 Ultimate
- Model: gemini-1.5-flash-002
- config:
name: Local Assistant
version: 1.0.0
schema: v1
models:
- name: cosi
provider: gemini
model: gemini-1.5-flash-002
apiBase: https://xxx.xxx.xxx.xxx/v1/xxx-genai/locations/europe-west3/publishers/google
apiKey: abc
requestOptions:
headers:
x-api-key: XXX
Content-Type: application/json
verifySsl: false
roles:
- autocomplete
- chat
context:
- provider: code
- provider: docs
- provider: diff
- provider: terminal
- provider: problems
- provider: folder
- provider: codebase
java.lang.NullPointerException: Cannot read field "objId" 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:64)
at jcef/com.jetbrains.cef.remote.CefServer.onConnected(CefServer.java:95)
at jcef/com.jetbrains.cef.remote.router.RemoteMessageRouter.<init>(RemoteMessageRouter.java:62)
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:399)
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:391)
at com.intellij.ui.jcef.JBCefBrowserBase.<init>(JBCefBrowserBase.java:176)
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:37)
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:1095)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:1029)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:726)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl$default(ToolWindowManagerImpl.kt:693)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activated$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:2367)
at com.intellij.openapi.wm.impl.SquareAnActionButton.setSelected(SquareStripeButton.kt:358)
at com.intellij.openapi.actionSystem.ToggleAction.actionPerformed(ToggleAction.java:62)
at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:239)
at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:219)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.performWithActionCallbacks(ActionManagerImpl.kt:1167)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.kt:405)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:219)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:535)
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:585)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:530)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$16(IdeEventQueue.kt:473)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction$lambda$6(AnyThreadWriteThreadingSupport.kt:274)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithTemporaryThreadLocal(AnyThreadWriteThreadingSupport.kt:204)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:274)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runPreventiveWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:218)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:473)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:307)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:864)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:306)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:958)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:117)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:958)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:301)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:341)
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)Description
The plugin was unresponsible. I therefore closed the project and re-opened it. The continue-Plugin then showed the error message above.
To reproduce
- Make the continue-Plugin unresponsbiel
- Reopen the IntelliJ project
Log output
[2025-05-15T08:28:52] [info] Starting Continue core...
[2025-05-15T08:28:52] Setup
[2025-05-15T08:28:52] [binary] Core started
[2025-05-15T08:28:59] (node:30870) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `continue-binary --trace-warnings ...` to show where the warning was created)
[2025-05-15T08:29:19] The operation was aborted.
Code: undefined
Error number: undefined
Syscall: undefined
Type: aborted
HXe: The operation was aborted.
at u (/snapshot/continue/binary/out/index.js:6667:16966)
at AbortSignal.I (/snapshot/continue/binary/out/index.js:6667:17153)
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 Bxe.cancel (/snapshot/continue/binary/out/index.js:8294:2889)
at wxe._createListenableGenerator (/snapshot/continue/binary/out/index.js:8294:3627)
at wxe.getGenerator (/snapshot/continue/binary/out/index.js:8294:4099)
at getGenerator.next (<anonymous>)
[2025-05-15T08:29:19] HXe: The operation was aborted.
[2025-05-15T08:29:22] The operation was aborted.Reacted by Gregor, Levi Hadad, expdalex, Karl Oczadly, 4140 and Philip
Metadata
Metadata
Assignees
Labels
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavior
Activity
sestinj commentedon May 17, 2025
@siom79 Thanks for sharing this—I've seen it on a couple of occasions as well and it's on my radar to fix very soon.
If you have any more information about when exactly this happens (as I don't have a clean reproduction pinned down yet), that would help a ton.
TSchererBTB commentedon May 26, 2025
Hi guys,
Our team experienced the same issue—also on macOS. We found a workaround.
What we discovered was that on those machines, the darwin-arm64/continue-binary crashed immediately (i.e., was killed by the OS), despite their machines having the ARM architecture. This happened even when attempting to start the executable via the command line.
Interestingly, the darwin-x64/continue-binary worked fine on those machines, indicated by the exectuable printing output from the the underlying messaging system and not crashing when run via the command line. (Someone mentioned that the x64 working could have something to do with Rosetta, but I personally have no knowledge about macOS.)
So, our workaround was simply to replace the surprisingly non-functioning darwin-arm64/continue-binary with the functioning darwin-x64/continue-binary in the plugin installation directory (~/Library/Application Support/JetBrains/[YOUR_INTELLIJ]/plugins/continue). We simply took the exectuable from the latter path and copied it over the former.
This resolved the issue—at least for us.
Maybe this helps you to find the root cause :)