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

Uncaught TypeError: Cannot read property 'current' of undefined

Open
#16 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.58.0 x64
**Electron**: 9.4.4
**OS**: Microsoft Windows 10 Pro
**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 C:\Users\Hutch\.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 (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:352326)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.58.0/resources/app/static/:11:350801)
at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.58.0/resources/app/static/:1:833412)
at EventEmitter.t (~/AppData/Local/atom/app-1.58.0/resources/app/static/:1:841383)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
```

### Commands

```
-4:09.2.0 command-palette:toggle (input.hidden-input)
-3:53.4.0 debugger:show-window-Debugger (input.hidden-input)
-2:49.3.0 debugger:toggle-breakpoint (span.syntax--keyword.syntax--operator)
-2:30.8.0 run-python-simply:toggle (ul.list-inline.tab-bar.inset-panel)
2x -1:20 debugger:toggle-breakpoint-enabled (span.debugger-breakpoint-icon.debugger-breakpoint-icon-nonconditional)
2x -1:01.3.0 debugger:toggle-breakpoint (input.hidden-input)
-0:43.7.0 debugger:show-launch-dialog (input.hidden-input)
```

### Non-Core Packages

```
ambiance 0.1.2
atom-dawn-fork-syntax 1.1.5
atom-dawn-syntax 0.2.0
atom-ide-base 3.4.0
atom-ide-code-format 1.0.2
atom-ide-console 0.0.2
atom-ide-datatip 0.25.0
atom-ide-debugger 0.0.3
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.1.0
atom-ide-signature-help 0.16.0
atom-material-syntax 1.0.8
atom-material-ui 2.1.3
atom-python-run 0.9.7
busy-signal 2.0.1
fantasy-ui 2.1.1
hex-view 1.0.1
ide-python 1.9.4
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
nuance-dark-ui 0.27.0
predawn-twilight 0.3.0
pretty-json 2.1.2
pure-ui 1.0.4
run-python-simply 0.6.0
script 3.32.2
wirehead-ui 0.2.0
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error with debugger:show-launch-dialog in Atom 1.58.0 on Windows, then inspect _renderConfigDialog and _showLaunchAttachDialog in atom-ide-debugger/dist/main.js. Trace the React rendering failure through the reported react-dom stack and verify that the launch dialog opens without an uncaught TypeError.

Written by the indexing model from the issue text.

Assessment

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