influxdata / influxdata/chronograf

Chronograf (1.10.1) Cannot read properties of undefined (reading 'getInstance')

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.6k
Forks
250
Avg merge
1d 3h
Merged PRs (30d)
9

Description

What browser are you using (name and version)?

What operating system are you using?

Please describe what you were trying to do when you encountered this error:

TypeError: Cannot read properties of undefined (reading 'getInstance')
    at s.getInstance (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:107:190219)
    at s.componentDidMount (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:107:190349)
    at ws (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:134781)
    at Ml (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:152426)
    at v (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:172695)
    at ao (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:96502)
    at Al (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:149092)
    at bl (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:145246)
    at http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:96793
    at v (http://sv2lxifxdbua11.corp.equinix.com:8888/index.c5ba09e6.js:1:172695)

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 error in Chronograf 1.10.1 and collect the missing browser, operating system, and triggering action. Use the stack trace in index.c5ba09e6.js, especially componentDidMount and getInstance, to locate the corresponding source entry point. Done means the component mounts without the undefined getInstance error and the behavior is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.