[BUG] Crash on load - random. RuntimeError: access to a null reference
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Randomly executing claude throws an error:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
RuntimeError: access to a null reference (evaluating 'P$.apply(null,iI)')
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at <anonymous> (/$bunfs/root/claude:722:6815)
What Should Happen?
The application should open and run.
Error Messages/Logs
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
RuntimeError: access to a null reference (evaluating 'P$.apply(null,iI)')
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at unknown
at <anonymous> (/$bunfs/root/claude:722:6815)
Steps to Reproduce
- At a Linux prompt execute:
claude
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.58
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Warp
Additional Information
I had just run claude --debug with no issues. Immediately exited and then re-executed claude. That's when the error occurred.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗