atom-community / atom-community/ide-python

Uncaught TypeError: Cannot read property 'current' of undefined

Ouverte
#522 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
238
Forks
40
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Prerequisites

* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:

### Description

### Steps to Reproduce

1.
2.
3.

**Expected behavior:**

**Actual behavior:**

### Versions

**Atom**: 1.60.0 x64
**Electron**: 9.4.4
**OS**: "openSUSE Tumbleweed"
**Thrown From**: [ide-python](https://github.com/lgeiger/ide-python) package 1.9.7

### Stack Trace

Uncaught TypeError: Cannot read property 'current' of undefined

```
At /home/patrik/.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-debugger/node_modules/@atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:64:23)
at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:154:22)
at Function.simpleDispatch (/usr/share/atom/resources/app/static/:11:1187666)
at Emitter.emit (/usr/share/atom/resources/app/static/:11:1189107)
at Pane.setActiveItem (/usr/share/atom/resources/app/static/:11:459674)
at Pane.activateItem (/usr/share/atom/resources/app/static/:11:461922)
at Workspace.open (/usr/share/atom/resources/app/static/:11:435444)
```

### Commands

```
-5:08.1.0 command-palette:toggle (div.welcome.is-guide)
-5:02.7.0 core:confirm (input.hidden-input)
-5:02.7.0 welcome:show (div.welcome.is-guide)
2x -4:23.7.0 core:backspace (input.hidden-input)
-4:22.2.0 core:confirm (input.hidden-input)
17x -1:15.6.0 core:backspace (input.hidden-input)
-0:12.6.0 console:toggle (input.hidden-input)
```

### Non-Core Packages

```
atom-bash 1.1.1
atom-ide-base 3.4.0
atom-ide-code-format 1.0.3
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-plus 3.0.1
busy-signal undefined
ide-python 1.9.7
intentions 2.1.1
linter 3.4.0
linter-python 3.1.2
linter-ui-default 3.4.1
python3-snippets 0.5.0
```

### Additional Information

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Le rapport ne fournit ni description ni étapes de reproduction. Commencez par la trace de la pile à @atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:64 et Atom's pane-element.js:154, en utilisant Atom 1.60.0 et ide-python 1.9.7 ; établissez un chemin d’activation reproductible avant d’examiner l’échec du rendu React. Le travail est considéré comme terminé lorsqu’une cause confirmée, des étapes reproductibles et un correctif vérifié ou un test de régression sont disponibles.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, react
Domaine
developer-experience, frontend
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
18/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.