Skip to content
This repository was archived by the owner on Sep 21, 2019. It is now read-only.
This repository was archived by the owner on Sep 21, 2019. It is now read-only.

Uncaught TypeError: Invalid Point: (NaN, 0) #296

@dpnova

Description

@dpnova

This happens when loading up atom after installing the plugin.

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Ubuntu 16.10
Thrown From: Ensime package 0.41.0

Stack Trace

Uncaught TypeError: Invalid Point: (NaN, 0)

At /usr/share/atom/resources/app/node_modules/text-buffer/lib/point.js:63

TypeError: Invalid Point: (NaN, 0)
    at Function.module.exports.Point.assertValid (/usr/share/atom/resources/app/node_modules/text-buffer/lib/point.js:63:1)
    at DisplayLayer.translateScreenPosition (/usr/share/atom/resources/app/node_modules/text-buffer/lib/display-layer.js:331:1)
    at TextEditor.module.exports.TextEditor.bufferPositionForScreenPosition (/usr/share/atom/resources/app/src/text-editor.js:1674:1)
    at bufferPositionFromMouseEvent (/packages/Ensime/lib/utils.coffee:36:10)
    at ShowTypes.showExpressionType (/packages/Ensime/lib/features/show-types.coffee:41:16)
    at /packages/Ensime/lib/features/show-types.coffee:20:14

Commands

Non-Core Packages

browser-plus 0.0.87 
busy-signal 1.4.1 
Ensime 0.41.0 
hyperclick 0.0.40 
intentions 1.1.2 
language-scala 1.1.8 
linter 2.1.4 
linter-ui-default 1.6.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions