atom-community / atom-community/atom-ide-console

Uncaught TypeError: Cannot read property 'current' of undefined

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.57.0 x64
**Electron**: 9.4.4
**OS**: Debian GNU/Linux
**Thrown From**: [atom-ide-console](https://github.com/atom-ide-community/atom-ide-console) package 0.0.2

### Stack Trace

Uncaught TypeError: Cannot read property 'current' of undefined

```
At /home/htauscher/.atom/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:250

TypeError: Cannot read property 'current' of undefined
at Pj (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:250:24)
at Tj (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:250:104)
at Lj (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:243:163)
at Jg (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:237:175)
at lk (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:285:27)
at /packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:289:301
at Xj (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:244:244)
at tk (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:289:287)
at Object.exports.render (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/node_modules/react-dom/cjs/react-dom.production.min.js:296:69)
at _renderConfigDialog (/packages/atom-ide-debugger/dist/main.js:665:21)
at _showLaunchAttachDialog (/packages/atom-ide-debugger/dist/main.js:705:3)
at /packages/atom-ide-debugger/dist/main.js:178:7)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/:11:352215)
at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/:11:350690)
at AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app/static/:1:786865)
at EventEmitter.t (/usr/share/atom/resources/app/static/:1:794836)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
```

### Commands

```
-0:08.7.0 debugger:show-launch-dialog (input.hidden-input)
```

### Non-Core Packages

```
atom-beautify 0.33.4
atom-ide-base 2.6.0
atom-ide-console 0.0.2
atom-ide-datatip 0.24.1
atom-ide-debugger 0.0.3
atom-ide-debugger-python 0.7.3
atom-ide-definitions 0.4.1
atom-ide-hyperclick 1.0.10
atom-ide-markdown-service 2.1.0
atom-ide-outline 2.3.4
atom-ide-signature-help 0.15.3
busy-signal 2.0.1
file-type-icons 1.3.4
ide-python 1.8.0
intentions 1.1.5
linter 3.3.1
linter-python-pep8 0.2.0
linter-ui-default 3.3.1
minimap 4.39.14
pigments 0.40.6
python-autopep8 0.1.3
script 3.32.2
todo-show 2.3.2
```

Contributor guide

Open the contributing guide

Research direction

The stack trace points to _renderConfigDialog and _showLaunchAttachDialog in atom-ide-debugger/dist/main.js; start by running debugger:show-launch-dialog and tracing those entry points. Confirm the failure under the reported Atom, Electron, Debian, and package versions, with completion defined as the launch dialog no longer throwing the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
desktop, devtools
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.