codesandbox / codesandbox/codesandbox-client

💥 Crash Report (Again)

Open
#6,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

💥 Crash Report

What were you trying to accomplish when the crash occurred?

Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 93.0.4577 OS X 10.15.7 4bb9ae77d

Route:
https://codesandbox.io/dashboard/home?workspace=1354a281-62f0-4b30-9964-412084db27ed

Error Code:
6f601d32f1a44cf385a9a158676ae5db

Error Message
TypeError: Cannot destructure property 'alias' of 'object null' as it is null.
TypeError: Cannot destructure property 'alias' of 'object null' as it is null.
  at t.getSandboxName (https://codesandbox.io/static/js/default~app~embed.f7fb0cb3e.chunk.js:378:343)
  at https://codesandbox.io/static/js/app.79de325ae.js?_sw-precache=1ec782c15e88be58323850ecc2aa445c:79:354323
  at Array.map (<anonymous>)
  at https://codesandbox.io/static/js/app.79de325ae.js?_sw-precache=1ec782c15e88be58323850ecc2aa445c:79:353974
  at Array.map (<anonymous>)
  at $e (https://codesandbox.io/static/js/app.79de325ae.js?_sw-precache=1ec782c15e88be58323850ecc2aa445c:79:353710)
  at ua (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1787440)
  at xs (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1832703)
  at ml (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1818279)
  at hl (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1818204)
  at il (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1815532)
  at https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1773715
  at https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1849051
  at qo (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1773424)
  at Xo (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1773660)
  at Yo (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1773595)
  at se (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1842803)
  at Sn (https://codesandbox.io/static/js/common.9517b6661.chunk.js?_sw-precache=87f4030e32e358792d32fc24f42eb6bf:1:1757221)

  in $e
  in t
  in Ye
  in Je
  in div
  in span
  in styled.span
  in span
  in styled.span
  in div
  in n
  in Styled(n)
  in Unknown
  in st
  in div
  in ForwardRef(p)
  in ForwardRef(p)
  in elements__TabContent
  in div
  in elements__Container
  in De
  in Unknown
  in er
  in div
  in div
  in div
  in div
  in t
  in t
  in Modal___StyledModal
  in n
  in De
  in Unknown
  in Y
  in n
  in withRouter(n)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in De
  in c
  in t

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash at the reported dashboard route, using the browser and CodeSandbox versions in the environment details. Trace the getSandboxName entry point from the stack trace and investigate the null value involved in destructuring alias. Done means the dashboard no longer crashes for the reported state and the error is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.