influxdata / influxdata/chronograf

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

Open
#6,122 0 comments 0 reactions 0 assignees View on GitHub
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 (https://monitoring.techstile.in/index.c5ba09e6.js:107:190219)
at s.componentDidMount (https://monitoring.techstile.in/index.c5ba09e6.js:107:190349)
at ws (https://monitoring.techstile.in/index.c5ba09e6.js:1:134781)
at Ml (https://monitoring.techstile.in/index.c5ba09e6.js:1:152426)
at v (https://monitoring.techstile.in/index.c5ba09e6.js:1:172695)
at ao (https://monitoring.techstile.in/index.c5ba09e6.js:1:96502)
at Al (https://monitoring.techstile.in/index.c5ba09e6.js:1:149092)
at bl (https://monitoring.techstile.in/index.c5ba09e6.js:1:145246)
at https://monitoring.techstile.in/index.c5ba09e6.js:1:96793
at v (https://monitoring.techstile.in/index.c5ba09e6.js:1:172695)
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error in Chronograf 1.10.1 and inspect the referenced index.c5ba09e6.js stack trace in the browser. Trace the getInstance call through the available source and determine the conditions that leave its receiver undefined. Done means the failing flow no longer throws and the behavior is covered by an appropriate 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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.