Uniswap / Uniswap/interface

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

Open
#4,069 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?chain=mainnet

swap state

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

Error

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

Stacktrace

Ea@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2474549
Fs@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2486341
t.unstable_runWithPriority@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2506889
Gi@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2429429
Rs@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2484299
ws@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2480383
Yi/<@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2429652
t.unstable_runWithPriority@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2506889
Gi@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2429429
Yi@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2429599
Ki@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2429532
bs@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2477535
If@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2449187
c</</<@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2359905
r/r/<@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2352152
r@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2352124
update@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2351663
value/t/</</t/<@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2157208
c@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2345498
u/o._invoke@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2345287
k/</<@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2345927
f@https://app.uniswap.org/static/js/2.d8bd6026.chunk.js:2:2155145

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
  "browser": {
    "name": "Firefox",
    "version": "102.0",
    "major": "102"
  },
  "engine": {
    "name": "Gecko",
    "version": "102.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?chain=mainnet using the reported swap state and Firefox 102 on Windows 10. Use the provided minified stacktrace to locate the relevant frontend path. Done means the reported NotFoundError no longer occurs for this state and the swap interface remains usable.

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.