Describe the Bug
I was in the middle of coding when I saw an update button and pressed it. At the time, the composer was in the middle of suggesting changes which I didn’t finish reviewing.
As soon as cursor restarted I got this error: The editor could not be opened due to an unexpected error: illegal state - RECURSIVELY instantiating service 'composerService'
If it makes any difference, I’m working on a dev container.
I tried restarting cursor, restarting the container, clearing and deleting all the open chat instances. Nothing helped, my cursor was effectively bricked. I couldn’t view any files in my workspace and the terminal was stuck loading with this text:
Running the initializeCommand from devcontainer.json...
[527 ms] Start: Run: /bin/sh -c mkdir -p /Users/asafm/.devcontainers/maven_cache
Thankfully it resolved itself after about 30 minutes, but for 30 minutes I couldn’t work at all. Please fix this.
The version and system info after the upgrade is:
Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Specifically, I was working with the Google Gemini 2.5 pro when this occurred.
Originally I thought I ran into this issue but then realized this was a new issue.
Steps to Reproduce
I can’t easily reproduce this, but I assume these would be the steps:
- Ask changes in chat and be mid edits (after they are suggested but not accepted or not fully accepted).
- Click the update button in the popup notifying that an update is ready/available.
- When cursor reopens, the error above appears.
I assume that working on git repo and/or dev container are not related to the root cause.
Expected Behavior
After cursor reopens following an update in the middle of composer edits, everything works and I can continue my work from were I was before the update.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor