Uniswap / Uniswap/interface

Crash report: `NotFoundError: Node.removeChild: The node to be removed is not a child of this node`

Open
#3,731 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

URL

https://app.uniswap.org/#/swap

swap state

{
  "INPUT": {
    "currencyId": null
  },
  "OUTPUT": {
    "currencyId": "ETH"
  },
  "typedValue": "",
  "independentField": "OUTPUT",
  "recipient": null
}

Error

NotFoundError: Node.removeChild: The node to be removed is not a child of this node

Stacktrace

To@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2129244
Uu@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2141036
t.unstable_runWithPriority@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2161584
Kf@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2084124
Du@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2138994
wu@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2135078
Xf/<@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2084347
t.unstable_runWithPriority@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2161584
Kf@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2084124
Xf@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2084294
Yf@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2084227
Ue@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2155394
Xt@https://app.uniswap.org/static/js/3.d306f042.chunk.js:2:2062859

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0",
  "browser": {
    "name": "Firefox",
    "version": "99.0",
    "major": "99"
  },
  "engine": {
    "name": "Gecko",
    "version": "99.0"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  },
  "device": {},
  "cpu": {
    "architecture": "amd64"
  }
}

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 https://app.uniswap.org/#/swap using the supplied swap state in Firefox 99 on Windows 10, then inspect the stack trace and the swap interface entry points it reaches. Done means identifying the state transition that causes the removeChild error and confirming that the swap page no longer crashes in that scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.