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 'id' of null #15168
Selecting a large block of text from a JSON file (file has sensitive info so can't supply)
Working dir is a git repo.
Atom: 1.19.0-beta7 x64 Electron: 1.6.9 OS: Microsoft Windows 10 Pro Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'id' of null
At C:\Users\chapmt01.TDL\AppData\Local\atom\app-1.19.0-beta7\resources\app\src\text-editor-component.js:2148
TypeError: Cannot read property 'id' of null
at horizontalPositionsToMeasure.forEach (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:2148:73)
at Map.forEach (native)
at TextEditorComponent.measureHorizontalPositions (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:2144:45)
at TextEditorComponent.measureContentDuringUpdateSync (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:378:16)
at scheduler.readDocument (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:263:20)
at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/view-registry.js:191:15)
at ~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/view-registry.js:3:65
I can consistently reproduce this out of safe mode with atom-ide-ui as my only enabled package. It also throws an exception from atom-ide-ui included below.
Disable all packages except atom-ide-ui and restart Atom
Open a file, I used atom-environment.coffee from the atom/atom repository
Hold Page Down for a while and then switch to holding Page Up for a while. The keys are bound to core:page-down and core:page-up
Repeat this for a couple of scrolls through the file. I did not scroll to the end before changing direction.
Gif of Reproduction
Atom: 1.19.0-beta7 x64 Electron: 1.6.9 OS: Microsoft Windows 7 Professional Thrown From: atom-ide-ui package 0.1.10
Stack Trace
Uncaught TypeError: Cannot read property 'id' of null
At C:\Users\lineri\.atom\packages\atom-ide-ui\node_modules\rxjs\bundles\Rx.min.js:43
TypeError: Cannot read property 'id' of null
at horizontalPositionsToMeasure.forEach (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:2148:73)
at Map.forEach (native)
at TextEditorComponent.measureHorizontalPositions (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:2144:45)
at TextEditorComponent.measureContentDuringUpdateSync (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:378:16)
at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:269:18)
at TextEditorComponent.pixelPositionForScreenPosition (~/AppData/Local/atom/app-1.19.0-beta7/resources/app/src/text-editor-component.js:195:18)
at getBufferPosition (/packages/atom-ide-ui/node_modules/atom-ide-ui/pkg/atom-ide-datatip/lib/DatatipManager.js:186:48)
at DatatipManagerForEditor._hideOrCancel (/packages/atom-ide-ui/node_modules/atom-ide-ui/pkg/atom-ide-datatip/lib/DatatipManager.js:528:35)
at /packages/atom-ide-ui/node_modules/atom-ide-ui/pkg/atom-ide-datatip/lib/DatatipManager.js:325:14)
at a.__tryOrUnsub (/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:43:337)
at a.next (/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:42:227)
at a._next (/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:40:393)
at a.next (/packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:40:64)
at /packages/atom-ide-ui/node_modules/rxjs/bundles/Rx.min.js:81:365)
Randomly started getting this today. Going to update extensions and atom and see if that fixes it.
Atom: 1.19.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'id' of null
At /Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2168
TypeError: Cannot read property 'id' of null
at horizontalPositionsToMeasure.forEach (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2168:73)
at Map.forEach (native)
at TextEditorComponent.measureHorizontalPositions (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:2164:45)
at TextEditorComponent.measureContentDuringUpdateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:385:16)
at scheduler.readDocument (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:270:20)
at ViewRegistry.module.exports.ViewRegistry.performDocumentUpdate (/Applications/Atom.app/Contents/Resources/app/src/view-registry.js:191:15)
at /Applications/Atom.app/Contents/Resources/app/src/view-registry.js:3:65
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
winstliu commentedon Aug 4, 2017
@TorquilChapman is this consistently reproducible? If so, can you please try in safe mode (
atom --safe)?Ben3eeE commentedon Aug 8, 2017
I can consistently reproduce this out of safe mode with
atom-ide-uias my only enabled package. It also throws an exception fromatom-ide-uiincluded below.atom-ide-uiand restart Atomatom-environment.coffeefrom theatom/atomrepositorycore:page-downandcore:page-upGif of Reproduction

Atom: 1.19.0-beta7 x64
Electron: 1.6.9
OS: Microsoft Windows 7 Professional
Thrown From: atom-ide-ui package 0.1.10
Stack Trace
Uncaught TypeError: Cannot read property 'id' of null
Commands
Non-Core Packages
OmgImAlexis commentedon Aug 20, 2017
[Enter steps to reproduce:]
Randomly started getting this today. Going to update extensions and atom and see if that fixes it.
Atom: 1.19.0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'id' of null
Commands
Non-Core Packages
Ben3eeE commentedon Aug 20, 2017
@OmgImAlexis The fix for this has been released in one of the hotfix releases for 1.19. I recommend you update Atom to the latest version.
OmgImAlexis commentedon Aug 20, 2017
I'm on
1.19.0and there's no updates?Ben3eeE commentedon Aug 20, 2017
@OmgImAlexis The latest version is
1.19.2https://atom.io/releaseslock commentedon Mar 31, 2018
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!