Uncaught TypeError: Cannot read property 'current' of undefined
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 18/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, react
调研方向
该报告没有提供描述或复现步骤。使用 Atom 1.60.0 和 ide-python 1.9.7,从 @atom-ide-community/nuclide-commons-ui/ReactMountRootElement.js:64 和 Atom's pane-element.js:154 处的堆栈跟踪开始;在检查 React 渲染失败之前,先建立可复现的激活路径。完成的标准是确认原因、提供可复现的步骤,并验证修复或回归测试。
由索引模型根据 Issue 内容生成。
描述
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: <https://github.com/issues?q=is%3Aissue user%3Aatom>
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: "openSUSE Tumbleweed"
Thrown From: 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/<embedded>:11:1187666)
at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1189107)
at Pane.setActiveItem (/usr/share/atom/resources/app/static/<embedded>:11:459674)
at Pane.activateItem (/usr/share/atom/resources/app/static/<embedded>:11:461922)
at Workspace.open (/usr/share/atom/resources/app/static/<embedded>: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
- 主要语言
- JavaScript
- 星标
- 238
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
atom-community/ide-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#575 · 5 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#570 · 2 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#568 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#567 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#566 ·
查看 atom-community/ide-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
antfu-collective/icones#398 ·
-
ECmail.com 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
wesbos/burner-email-providers#554 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
radiantearth/stac-browser#1023 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
components-web-app/docs#92 ·