Uncaught TypeError: Invalid Point: (NaN, 0)

[Enter steps to reproduce:]

  1. …opened Atom, first use after installation with several packages: { highlight-selected, file-icons, babel, autocomplete modules, emmet, swackets, git-plus, remote-edit }

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Invalid Point: (NaN, 0)

At /home/andrei/atom-1.11.1/out/app/node_modules/tree-view/lib/file.coffee:70727

TypeError: Invalid Point: (NaN, 0)
    at Function.module.exports.Point.assertValid (/opt/atom/resources/app/node_modules/text-buffer/lib/point.js:63:1)
    at DisplayLayer.translateScreenPosition (/opt/atom/resources/app/node_modules/text-buffer/lib/display-layer.js:331:1)
    at DisplayMarkerLayer.module.exports.DisplayMarkerLayer.translateScreenPosition (/opt/atom/resources/app/node_modules/text-buffer/lib/display-marker-layer.js:163:1)
    at DisplayMarker.module.exports.DisplayMarker.setHeadScreenPosition (/opt/atom/resources/app/node_modules/text-buffer/lib/display-marker.js:154:1)
    at /opt/atom/resources/app/src/cursor.js:72:1
    at Cursor.module.exports.Cursor.changePosition (/opt/atom/resources/app/src/cursor.js:684:1)
    at Cursor.module.exports.Cursor.setScreenPosition (/opt/atom/resources/app/src/cursor.js:70:1)
    at /opt/atom/resources/app/src/text-editor.js:1907:1
    at TextEditor.module.exports.TextEditor.moveCursors (/opt/atom/resources/app/src/text-editor.js:2130:1)
    at TextEditor.module.exports.TextEditor.setCursorScreenPosition (/opt/atom/resources/app/src/text-editor.js:1906:1)
    at TextEditorComponent.module.exports.TextEditorComponent.onMouseDown (/opt/atom/resources/app/src/text-editor-component.js:733:1)
    at HTMLDivElement.<anonymous> (/opt/atom/resources/app/src/text-editor-component.js:3:1)

Commands

Non-Core Packages

an-old-hope-syntax 1.0.4 
autocomplete-modules 1.6.10 
emmet 2.4.3 
file-icons 2.1.7 
git-plus 7.9.3 
highlight-selected 0.13.1 
language-babel 2.65.1 
remote-edit 1.9.0 
robin-hood-syntax 1.0.0 
swackets 0.26.0 

1 possible answer(s) on “Uncaught TypeError: Invalid Point: (NaN, 0)

  1. Atom just reported this for me too. Occurred when trying to drag an already open document to create a new “split”. On dragging, rather than the usual visual highlight to indicate where the document could be dropped, Atom appeared to stutter then threw the attached errors.

    screen shot 2017-07-27 at 17 26 27