Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bmhkim opened this issue Jun 12, 2015 · 0 comments
Closed

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

bmhkim opened this issue Jun 12, 2015 · 0 comments

Comments

@bmhkim
Copy link

bmhkim commented Jun 12, 2015

  1. Create an empty XML file
  2. Open it in Atom.
  3. Click in the editor (e.g., to place the cursor at the head of the file)

Atom Version: 0.209.0
System: Mac OS X 10.10.3
Thrown From: linter package, v0.12.7

Stack Trace

Uncaught TypeError: Invalid Point: (0, NaN)

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (0, NaN)
  at Function.module.exports.Point.assertValid (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1381:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1265:59)
  at LinterView.createMarker (/Users/bkim/.atom/packages/linter/lib/linter-view.coffee:190:22)
  at LinterView.display (/Users/bkim/.atom/packages/linter/lib/linter-view.coffee:227:17)
  at LinterView.processMessage (/Users/bkim/.atom/packages/linter/lib/linter-view.coffee:178:8)
  at LinterView.processMessage (/Users/bkim/.atom/packages/linter/lib/linter-view.coffee:1:1)
  at /Users/bkim/.atom/packages/linter/lib/linter-view.coffee:164:14
  at LinterXmllint.Linter.processMessage (/Users/bkim/.atom/packages/linter/lib/linter.coffee:241:5)
  at /Users/bkim/.atom/packages/linter/lib/linter.coffee:173:8
  at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:227:18
  at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -1:53.7.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-peacock-syntax.theme-seti-ui)
  2x -0:34.6.0 core:close (atom-workspace.workspace.scrollbars-visible-always.theme-peacock-syntax.theme-seti-ui)
     -0:00.7.0 core:save (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "peacock-syntax"
    ],
    "projectHome": "/padopolis/server/src/",
    "ignoredNames": [
      ".git .hg .svn .DS_STORE Thumbs.db .pyc"
    ],
    "disabledPackages": [
      "symbols-view"
    ]
  },
  "linter": {
    "showInfoMessages": true,
    "statusBar": "Show error of the selected line",
    "lintDebug": true,
    "lintOnChange": false,
    "subtleLinterErrors": [
      "shellcheck",
      "pylint",
      "xmllint"
    ]
  }
}

Installed Packages

# User
atom-ctags, v4.1.2
atom-django, v0.3.0
atom-jinja2, v0.5.0
auto-detect-indentation, v0.4.2
color-picker, v2.0.4
linter, v0.12.7
linter-js-yaml, v1.0.1
linter-jshint, v0.1.6
linter-pylint, v0.2.2
linter-shellcheck, v0.0.8
linter-xmllint, v0.0.6
minimap, v4.10.0
peacock-syntax, v1.4.0
save-session, vundefined
seti-ui, v0.7.1
ssh-config, v0.10.1
symbols-tree-view, v0.9.3

# Dev
No dev packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants