On page redirect ▶️ Uncaught Error: null pointer passed to rust
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react, rust, typescript
Research direction
Start with the linked CodeSandbox reproduction and the browser console, then trace the redirect interaction through the ecctrl, @react-three/rapier, and KeyboardControls components named in the error. Done means clicking the tree to redirect no longer produces the null-pointer error.
Written by the indexing model from the issue text.
Description
I am getting the following error when redirecting on a page.
Uncaught Error: null pointer passed to rust
I created a code sandbox here: https://codesandbox.io/p/sandbox/jovial-tdd-njw3j3
Here, when clicking on the tree I implemented a redirect. You will see the error as well in the Browser Dev Tools (not the built-in Dev Tools of Codesandbox, even though it will probably show there as well)
Here's some more of the error message:
The above error occurred in the <ForwardRef> component:
at eval (webpack-internal:///(app-pages-browser)/./node_modules/ecctrl/dist/Ecctrl.js:1093:11)
at KeyboardControls (webpack-internal:///(app-pages-browser)/./node_modules/@react-three/drei/web/KeyboardControls.js:19:11)
at Physics (webpack-internal:///(app-pages-browser)/./node_modules/@react-three/rapier/dist/react-three-rapier.esm.js:747:13)
at Suspense
at Suspense
at ErrorBoundary (webpack-internal:///(app-pages-browser)/./node_modules/@react-three/fiber/dist/index-8afac004.esm.js:441:9)
at FiberProvider (webpack-internal:///(app-pages-browser)/./node_modules/its-fine/dist/index.js:66:1)
at Provider (webpack-internal:///(app-pages-browser)/./node_modules/@react-three/fiber/dist/index-8afac004.esm.js:1982:11)
Any idea how to prevent this error?
- Dominant language
- TypeScript
- Stars
- 823
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pmndrs/ecctrl
-
Rapier Sleeping Body wake up code misses 1 frame of gravityPossibly taken @OptimusPi claimed this 8 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
errorOpen
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
React 19May be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 82/100
lingdojo/kana-dojo#34714 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manaflow-ai/cmux#59692 ·
Maintainers usually reply within 1 day
-
Retire stale Python-parity labels in Rust ingress and auth testsPossibly taken @github-actions claimed this today. Openfactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JoshCLWren/comic-pile#5874 · 2 comments ·
Maintainers usually reply within 1 day
-
area: community lane: free-agent priority: P1 roadmap type: task
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
velella-sh/offing#1046 ·
Maintainers usually reply within 1 day