Uniswap / Uniswap/interface

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

Open
#3,667 1 comment 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?inputCurrency=0x4af9ab04615cb91e2ee8cbedb43fb52ed205041b&outputCurrency=ETH&use=V2&chain=mainnet

swap state

{
  "INPUT": {
    "currencyId": "0x4AF9ab04615cB91e2EE8cbEDb43fb52eD205041B"
  },
  "OUTPUT": {
    "currencyId": "ETH"
  },
  "independentField": "INPUT",
  "typedValue": "",
  "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.2e02069c.chunk.js:2:2129244
Uu@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2141036
t.unstable_runWithPriority@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2161584
Kf@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2084124
Du@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2138994
wu@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2135078
Xf/<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2084347
t.unstable_runWithPriority@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2161584
Kf@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2084124
Xf@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2084294
Yf@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2084227
Pu@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:2135174
notify@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:272199
t.notifyNestedSubs@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:272834
t.handleChangeWrapper@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:272902
m@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:527990
t.save/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:1323166
se/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:581571
ue/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:579745
ae/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:578952
ie/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:577482
fe/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:576829
re/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:575807
ce/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:582639
pe/init/middleware/F/F@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:587710
se/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:581571
ue/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:579745
ae/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:578952
ie/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:577482
fe/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:576829
re/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:575807
ce/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:582639
pe/init/middleware/F/F@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:587710
i/</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:155746
J/</s</</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:1098777
J/</s</<@https://app.uniswap.org/static/js/3.2e02069c.chunk.js:2:1099053

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0",
  "browser": {
    "name": "Firefox",
    "version": "98.0",
    "major": "98"
  },
  "engine": {
    "name": "Gecko",
    "version": "98.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

Reproduce the crash using the provided swap URL, state, Firefox 98 on Windows 10, and the recorded Node.removeChild error. Use the supplied stack trace to locate the relevant interface code; done means the swap page no longer crashes during the reported flow and the error is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, 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.