You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Uncaught TypeError: Cannot read property 'length' of undefined #18783
Atom: 1.34.0 x64 Electron: 2.0.16 OS: Unknown Windows version Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
At C:\Users\Hp Folio\AppData\Local\atom\app-1.34.0\resources\app\static\<embedded>:14
TypeError: Cannot read property 'length' of undefined
at ScreenLineBuilder.emitText (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1103242)
at ScreenLineBuilder.buildScreenLines (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:1098948)
at DisplayLayer.getScreenLines (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:14:89306)
at TextEditorComponent.queryScreenLinesToRender (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:79324)
at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:69977)
at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:67605)
at TextEditorComponent.didMouseWheel (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:92354)
Uncaught TypeError: Cannot read property 'length' of undefined
At /usr/share/atom/resources/app/static/<embedded>:14
TypeError: Cannot read property 'length' of undefined
at ScreenLineBuilder.emitText (/usr/share/atom/resources/app/static/<embedded>:14:1108419)
at ScreenLineBuilder.buildScreenLines (/usr/share/atom/resources/app/static/<embedded>:14:1104125)
at DisplayLayer.getScreenLines (/usr/share/atom/resources/app/static/<embedded>:14:89306)
at TextEditorComponent.queryScreenLinesToRender (/usr/share/atom/resources/app/static/<embedded>:11:79324)
at TextEditorComponent.updateSyncBeforeMeasuringContent (/usr/share/atom/resources/app/static/<embedded>:11:69977)
at TextEditorComponent.updateSync (/usr/share/atom/resources/app/static/<embedded>:11:67605)
at TextEditorComponent.didShow (/usr/share/atom/resources/app/static/<embedded>:11:91235)
at TextEditorComponent.didFocus (/usr/share/atom/resources/app/static/<embedded>:11:91426)
at HTMLElement.addEventListener (/app.asar/src/text-editor-element.js:36:67)
at HTMLElement.activeItemChanged (/app.asar/src/pane-element.js:164:16)
at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1190133)
at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1191574)
at Pane.setActiveItem (/usr/share/atom/resources/app/static/<embedded>:11:455431)
at Pane.activateItem (/usr/share/atom/resources/app/static/<embedded>:11:457679)
at TabBarView.t.exports.TabBarView.onClick (/usr/share/atom/resources/app/static/<embedded>:11:1140638)
We noticed that this looks like a duplicate of #18739 so you can subscribe there for updates if you'd like. If you have steps to reproduce, please let us know in #18739.
@nateGeorge I'm unable to reproduce with steps you mentioned, I'm assuming that you can no longer reproduce after you've closed all files for that particular project you were working on?
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
artuc commentedon Feb 4, 2019
nateGeorge commentedon Feb 4, 2019
[Enter steps to reproduce:]
atom .from the directory in the terminal).Atom: 1.34.0 x64
Electron: 2.0.16
OS: Ubuntu 18.04.1
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
Commands
Non-Core Packages
rsese commentedon Feb 5, 2019
Thanks for the report @chiraggada2911!
We noticed that this looks like a duplicate of #18739 so you can subscribe there for updates if you'd like. If you have steps to reproduce, please let us know in #18739.
@nateGeorge I'm unable to reproduce with steps you mentioned, I'm assuming that you can no longer reproduce after you've closed all files for that particular project you were working on?
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.
nateGeorge commentedon Feb 6, 2019
@rsese
Yes, it seemed to be something weird with that one project or my computer state at the time. Doesn't seem to be happening any more.
lock commentedon Aug 12, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!