Uncaught TypeError: Cannot read property 'current' of undefined
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 20/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- electron, javascript, react
- Domaine
- devtools
Piste de recherche
Les étapes de reproduction manquent ; commencez donc par reproduire le flux debugger:show signalé après run:file et un clic dans le gutter sur Atom 1.57.0 avec ide-python 1.9.7. Lisez les emplacements de la pile dans react-dom.production.min.js, ReactMountRootElement.js, pane-element.js et DebuggerLayoutManager.js, en particulier les points d’entrée indiqués. Le travail est terminé lorsque la vue du débogueur s’ouvre sans le TypeError non intercepté.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.57.0 x64
Electron: 9.4.4
OS: Ubuntu 20.04.3
Thrown From: ide-python package 1.9.7
Stack Trace
Uncaught TypeError: Cannot read property 'current' of undefined
At /home/henadzi/.atom/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:250
TypeError: Cannot read property 'current' of undefined
at Pj (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:250:24)
at Tj (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:250:104)
at Lj (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:243:163)
at Jg (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:237:175)
at lk (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:285:27)
at /packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:289:301
at Xj (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:244:244)
at tk (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:289:287)
at Object.exports.render (/packages/ide-python/node_modules/react-dom/cjs/react-dom.production.min.js:296:69)
at HTMLElement.connectedCallback (/packages/atom-ide-console/node_modules/@atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:64:23)
at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:152:22)
at Function.simpleDispatch (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:1186190)
at Emitter.emit (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:1187631)
at Pane.setActiveItem (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:458810)
at Pane.activateItem (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:461058)
at DebuggerLayoutManager._appendItemToDock (/packages/atom-ide-debugger/dist/ui/DebuggerLayoutManager.js:323:20)
at DebuggerLayoutManager._addPaneContainerToWorkspace (/packages/atom-ide-debugger/dist/ui/DebuggerLayoutManager.js:648:10)
at DebuggerLayoutManager.showDebuggerViews (/packages/atom-ide-debugger/dist/ui/DebuggerLayoutManager.js:593:44)
at /packages/atom-ide-debugger/dist/main.js:412:24)
at CommandRegistry.handleCommandEvent (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:352215)
at CommandRegistry.dispatch (/snap/atom/282/usr/share/atom/resources/app/static/<embedded>:11:350690)
at BreakpointDisplayController._handleGutterClick (/packages/atom-ide-debugger/dist/BreakpointDisplayController.js:316:25)
Commands
-0:48 application:open-folder (div.tool-panel.tree-view)
2x -0:29.8.0 run:file (input.hidden-input)
-0:05.3.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-one-light-ui)
Non-Core Packages
atom-django 0.3.2
atom-i18n 0.26.1
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.2.0
atom-ide-signature-help 0.16.0
atom-live-server 2.3.0
atom-python-run 0.9.7
atom-runner 2.7.1
autocomplete-paths 2.17.0
busy-signal 2.0.1
code-peek 1.4.21
css-spy 0.6.0
data-atom 0.29.1
dbg 1.6.3
emmet 2.4.3
git-plus 8.7.1
henadzi undefined
ide-python 1.9.7
intentions 2.1.1
linter 3.4.0
linter-flake8 2.4.0
linter-php 1.6.1
linter-python-pep8 0.2.0
linter-ui-default 3.4.1
linter-ui-plus 0.3.2
output-panel 0.3.4
platformio-ide-terminal 2.10.1
python-stero 0.2.0
quick-query-sqlite 0.4.1
script 3.32.2
TabNine 4.0.7
- Langage dominant
- JavaScript
- Étoiles
- 238
- Forks
- 41
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de atom-community/ide-python
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
atom-community/ide-python#575 · 5 réactions ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 25/100
atom-community/ide-python#570 · 2 commentaires · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 25/100
atom-community/ide-python#568 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
atom-community/ide-python#567 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
atom-community/ide-python#566 ·
Toutes les issues de atom-community/ide-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
area-deployment area-integrations triage:bot-seen
Difficulté 2/5 Une demi-journée Accessibilité débutants 86/100
-
Issue-Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
sugarlabs/musicblocks#8924 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Ouvertecustomer-eng status: needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100