influxdata / influxdata/chronograf

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

Open
#6,097 1 comment 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)?
Opera
What operating system are you using?
WIndows 11
Please describe what you were trying to do when you encountered this error:
delete part of a query (query originally built via selector)
```
TypeError: Cannot read properties of undefined (reading 'getInstance')
at s.getInstance (http://192.168.1.130:8889/index.c5ba09e6.js:107:190219)
at s.componentDidMount (http://192.168.1.130:8889/index.c5ba09e6.js:107:190349)
at ws (http://192.168.1.130:8889/index.c5ba09e6.js:1:134781)
at Ml (http://192.168.1.130:8889/index.c5ba09e6.js:1:152426)
at v (http://192.168.1.130:8889/index.c5ba09e6.js:1:172695)
at ao (http://192.168.1.130:8889/index.c5ba09e6.js:1:96502)
at Al (http://192.168.1.130:8889/index.c5ba09e6.js:1:149092)
at bl (http://192.168.1.130:8889/index.c5ba09e6.js:1:145246)
at http://192.168.1.130:8889/index.c5ba09e6.js:1:96793
at v (http://192.168.1.130:8889/index.c5ba09e6.js:1:172695)
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error while deleting part of a selector-built query in Opera on Windows 11. Use the stack trace in index.c5ba09e6.js to trace getInstance and componentDidMount back to the corresponding source component. Done means the query can be edited without the TypeError.

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.