atom-community / atom-community/ide-python

Uncaught TypeError: Cannot read property 'current' of undefined

Aperta
#285 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug duplicate
Lingua principale
JavaScript
Stelle
238
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I get this error as soon as I do anything related to the debugger
To avoid confusions about the 2 different locations between my C: drive and E: drive. It is a symlink. So they are both in the same location basically

```TypeError: Cannot read property 'current' of undefined
at Pj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:250:24)
at Tj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:250:104)
at Lj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:243:163)
at Jg (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:237:175)
at lk (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:285:27)
at E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:289:301
at Xj (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:244:244)
at tk (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:289:287)
at Object.exports.render (E:\000 - Configuration profile\Atom\.atom\packages\ide-python\node_modules\react-dom\cjs\react-dom.production.min.js:296:69)
at HTMLElement.connectedCallback (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\node_modules\@atom-ide-community\nuclide-commons-ui\ReactMountRootElement.js:64:23)
at HTMLElement.activeItemChanged (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app.asar\src\pane-element.js:152:22)
at Function.simpleDispatch (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1190181)
at Emitter.emit (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1191622)
at Pane.setActiveItem (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:456849)
at Pane.activateItem (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:459097)
at DebuggerLayoutManager._appendItemToDock (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:323:20)
at DebuggerLayoutManager._addPaneContainerToWorkspace (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:648:10)
at DebuggerLayoutManager.showDebuggerViews (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\ui\DebuggerLayoutManager.js:593:44)
at HTMLElement.debugger:show (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\main.js:412:24)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at CommandRegistry.dispatch (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:348857)
at HTMLElement. (E:\000 - Configuration profile\Atom\.atom\packages\atom-ide-debugger\dist\main.js:427:21)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at Object.didConfirmSelection (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:684525)
at SelectListView.confirmSelection (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:856521)
at HTMLDivElement.core:confirm (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:851400)
at CommandRegistry.handleCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:350382)
at KeymapManager.dispatchCommandEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1230982)
at KeymapManager.handleKeyboardEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:1227116)
at WindowEventHandler.handleDocumentKeyEvent (C:\Users\Wanty\AppData\Local\atom\app-1.54.0\resources\app\static\:11:284879)```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproduci il malfunzionamento con il comando debugger:show, quindi segui lo stack da DebuggerLayoutManager.showDebuggerViews in dist/ui/DebuggerLayoutManager.js attraverso ReactMountRootElement.js. Controlla il percorso di attivazione della vista del debugger e verifica che l’apertura di viste relative al debugger non sollevi più il TypeError.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, react
Ambito
devtools
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.