Summary
I hit the same crash twice today on OpenCode Desktop/Web UI startup. The app shows the black "Something went wrong" screen before the main UI finishes loading.
Version
Actual Behavior
The app crashes during load with:
TypeError: Cannot read properties of undefined (reading id)
at Object.fn (http://127.0.0.1:4096/assets/session-CiCXhYTR.js:14:79062)
at Mk (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:6835)
at Pl (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:6592)
at op (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:8002)
at D6 (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:8883)
at pL (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:8255)
at qr (http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:8187)
at http://127.0.0.1:4096/assets/index-jLZvC0f3.js:2:5043
The crash screen text is:
Something went wrong
An error occurred while loading the application.
Expected Behavior
If session data is missing or malformed, the app should handle it gracefully instead of crashing the entire UI during startup.
Frequency
Notes
- This looks related to session bootstrap/rendering because the top frame is in
assets/session-*.js.
- There is already
#11702 about runtime crashes from unsafe assumptions, but this report is a user-facing UI crash on 1.2.20 with a concrete startup stack trace.
- I have a screenshot of the error screen and can add it in a follow-up comment if that helps.
Summary
I hit the same crash twice today on OpenCode Desktop/Web UI startup. The app shows the black "Something went wrong" screen before the main UI finishes loading.
Version
1.2.20Actual Behavior
The app crashes during load with:
The crash screen text is:
Expected Behavior
If session data is missing or malformed, the app should handle it gracefully instead of crashing the entire UI during startup.
Frequency
Notes
assets/session-*.js.#11702about runtime crashes from unsafe assumptions, but this report is a user-facing UI crash on1.2.20with a concrete startup stack trace.