Cursor black screen ui error

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

i think this error is from the latest 2.0.34 build.
there is a null error when loading the UI.
i can open the same file in vscode. and all other folders/projects in cursor except one. built with cursor v 1.1.3.
works and opened in v 1.7

workbench.desktop.main.js:55 ERR Assertion Failed: Argument is undefined or null.: Error: Assertion Failed: Argument is undefined or null.
at zg (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:246)
at Zl (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:1268)
at vJr.updateStyles (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5515:27573)
at vJr.onThemeChange (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36814)
at qDt.value (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36760)
at _e._deliver (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at hGr.applyTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5594:650)
at hGr.internalSetColorTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5592:9477)
at async Promise.all (index 0) Wyu: Assertion Failed: Argument is undefined or null.
at zg (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:246)
at Zl (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:1268)
at vJr.updateStyles (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5515:27573)
at vJr.onThemeChange (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36814)
at qDt.value (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36760)
at _e._deliver (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at hGr.applyTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5594:650)
at hGr.internalSetColorTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5592:9477)
at async Promise.all (index 0)
workbench.desktop.main.js:55 WARN No search provider registered for scheme: file, waiting
workbench.desktop.main.js:55 ERR Cannot read properties of undefined (reading ‘getRuntimeValue’): TypeError: Cannot read properties of undefined (reading ‘getRuntimeValue’)
at WNf.isVisible (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7437:65668)
at rKr.isComposerPanePartVisible (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5785:22206)
at rKr.isShowing (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5785:24485)
at IC.createComposerAfterTimeout (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5762:15380)
at new IC (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5759:13326)
at ZSo._createInstance (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5890:2025)
at vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5890:4626
at Ijs._executor (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:50:94064)
at vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:50:94145 TypeError: Cannot read properties of undefined (reading ‘getRuntimeValue’)
at WNf.isVisible (workbench.desktop.main.js:7437:65668)
at rKr.isComposerPanePartVisible (workbench.desktop.main.js:5785:22206)
at rKr.isShowing (workbench.desktop.main.js:5785:24485)
at IC.createComposerAfterTimeout (workbench.desktop.main.js:5762:15380)
at new IC (workbench.desktop.main.js:5759:13326)
at ZSo._createInstance (workbench.desktop.main.js:5890:2025)
at workbench.desktop.main.js:5890:4626
at Ijs._executor (workbench.desktop.main.js:50:94064)
at workbench.desktop.main.js:50:94145workbench.desktop.main.js:55 ERR Assertion Failed: Argument is undefined or null.: Error: Assertion Failed: Argument is undefined or null.
at zg (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:246)
at Zl (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:1268)
at vJr.updateStyles (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5515:27573)
at vJr.onThemeChange (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36814)
at qDt.value (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36760)
at _e._deliver (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at hGr.applyTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5594:650)
at hGr.internalSetColorTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5592:9477)
at async Promise.all (index 0) Wyu: Assertion Failed: Argument is undefined or null.
at zg (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:246)
at Zl (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:29:1268)
at vJr.updateStyles (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5515:27573)
at vJr.onThemeChange (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36814)
at qDt.value (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:99:36760)
at _e._deliver (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e._deliverQueue (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3053)
at _e.fire (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3390)
at hGr.applyTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5594:650)
at hGr.internalSetColorTheme (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5592:9477)
at async Promise.all (index 0)
workbench.desktop.main.js:55 WARN No search provider registered for scheme: file, waiting
workbench.desktop.main.js:55 ERR Cannot read properties of undefined (reading ‘getRuntimeValue’): TypeError: Cannot read properties of undefined (reading ‘getRuntimeValue’)
at WNf.isVisible (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:7437:65668)
at rKr.isComposerPanePartVisible (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5785:22206)
at rKr.isShowing (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5785:24485)
at IC.createComposerAfterTimeout (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5762:15380)
at new IC (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5759:13326)
at ZSo._createInstance (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5890:2025)
at vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:5890:4626
at Ijs._executor (vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:50:94064)
at vscode-file://vscode-app/c:/Program%20Files/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:50:94145 TypeError: Cannot read properties of undefined (reading ‘getRuntimeValue’)
at WNf.isVisible (workbench.desktop.main.js:7437:65668)
at rKr.isComposerPanePartVisible (workbench.desktop.main.js:5785:22206)
at rKr.isShowing (workbench.desktop.main.js:5785:24485)
at IC.createComposerAfterTimeout (workbench.desktop.main.js:5762:15380)
at new IC (workbench.desktop.main.js:5759:13326)
at ZSo._createInstance (workbench.desktop.main.js:5890:2025)
at workbench.desktop.main.js:5890:4626
at Ijs._executor (workbench.desktop.main.js:50:94064)
at workbench.desktop.main.js:50:94145

Steps to Reproduce

opening an older project build with cursor 1.1

Expected Behavior

open the project

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

2.0.34 latest version

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. Based on the stack trace, theme initialization and Composer startup are failing, and it seems tied to this project’s workspace state.

Let’s try these checks:

  • Safe mode: run cursor --disable-extensions from the command line and open the project. Does it load?
  • Workspace settings: does the project have a .vscode folder with custom settings that might be incompatible with v2.0.34?
  • Fresh open: try opening the project in a new window with no previous state.

If that doesn’t help, reset Cursor’s app data (a similar fix helped for a Windows UI issue):

  • Fully close Cursor
  • In File Explorer, rename:
    %USERPROFILE%\AppData\Local\CursorCursor.old
    %USERPROFILE%\AppData\Roaming\CursorCursor.old
  • Restart Cursor (fresh folders will be created)
  • Try opening your project

Also please share:

  • Screenshots of the black screen
  • Full DevTools Console output (Help > Toggle Developer Tools > Console tab)
  • List of installed extensions

Let me know if the reset helps.

That is the developer console. You cant even access it as it just a black screen. No menu options as all buttons do not load.

You have to open dev options first then try to open the folder.

I already did all the above commands. Disable gpu, extensions

Clear profile cache

No local

Just roaming.

It runs on vs code or any editor

Deleted vscode folder/ rename workspace file

Running command just reopens a black window. If the previous one was the bug folder

Have to open another folder for cursor to load then try to go to this folder.

Its a fresh install of cursor. Tried uninstall/ reinstall twice. Restart comp. No extensions installed yet

Hey, thanks for all the troubleshooting you’ve tried. To investigate this project-specific issue, please record a short video:

  • Open a working project in Cursor (to confirm the UI loads normally)
  • Then open the problematic project (show the black screen)

This will help the engineering team identify the exact failure point and compare behavior between working and non-working projects.