Uniswap / Uniswap/interface

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

Open
#2,481 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

URL

https://app.uniswap.org/#/add/v2/0xfbc9d9c558dfd69fcd0e2f4d0cd8baba0e9f0b33/0xe3563c3453ccb6b08ac02573827128c65c667864

mint state

{
  "independentField": "CURRENCY_A",
  "typedValue": "35",
  "otherTypedValue": "",
  "startPriceTypedValue": "",
  "leftRangeTypedValue": "",
  "rightRangeTypedValue": ""
}

Error

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

Stacktrace

Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at Ou (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1220041)
    at Ps (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1231853)
    at https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1252470
    at Vi (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1174828)
    at As (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1229811)
    at ys (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1225897)
    at https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1175051
    at https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1252470
    at Vi (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1174828)
    at Gi (https://app.uniswap.org/static/js/35.ec3e0318.chunk.js:2:1174996)

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "94.0.4606.61",
    "major": "94"
  },
  "engine": {
    "name": "Blink",
    "version": "94.0.4606.61"
  },
  "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 the provided add-liquidity URL using the reported mint state and Chrome environment. Use the supplied removeChild stacktrace as the initial investigation path; done means the flow no longer throws the reported NotFoundError under the reproducing conditions.

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.