influxdata / influxdata/chronograf

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

Open
#6,041 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)? Chrome

What operating system are you using? Linux

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

Change InfluxQL request on update (edit) query in selected chart on one dashboard. Dunring press "Del" key raise an error and reload application. Any ideas?

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error in Chrome on Linux: edit the InfluxQL request for a selected dashboard chart and press Delete. Inspect the reported index.e81b88ee.js stack around getInstance and componentDidMount; done means the action no longer raises the TypeError or reloads the application.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.