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: Cannot read property '0' of undefined #457

Closed
yajo opened this issue Mar 5, 2015 · 0 comments
Closed

Uncaught TypeError: Cannot read property '0' of undefined #457

yajo opened this issue Mar 5, 2015 · 0 comments

Comments

@yajo
Copy link

yajo commented Mar 5, 2015

[Enter steps to reproduce below:]

I was working with an XML file, but I'm not sure what triggered this.

Atom Version: 0.184.0
System: linux 3.18.3-201.fc21.x86_64
Thrown From: linter package, v0.12.0

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At /usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:310

TypeError: Cannot read property '0' of undefined
  at IntervalSkipList.module.exports.IntervalSkipList.adjustMarkersOnRemove (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:310:69)
  at IntervalSkipList.module.exports.IntervalSkipList.removeNode (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:293:14)
  at IntervalSkipList.module.exports.IntervalSkipList.remove (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:198:14)
  at Marker.module.exports.Marker.destroy (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker.js:317:30)
  at Marker.module.exports.Marker.destroy (/usr/share/atom/resources/app/src/marker.js:62:25)
  at LinterView.destroyMarkers (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:180:7)
  at LinterView.lint (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:144:6)
  at LinterView.<anonymous> (/usr/share/atom/resources/app/node_modules/cheerio/node_modules/lodash/dist/lodash.js:5452:27)
  at /home/jllopis/.atom/packages/linter/lib/linter-view.coffee:112:10
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at /usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:1151:25

Commands

     -0:09.2 core:move-down (atom-text-editor.editor.is-focused)
  5x -0:09.1 core:select-down (atom-text-editor.editor.is-focused)
     -0:08.1 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:08.1 snippets:expand (atom-text-editor.editor.is-focused)
     -0:08.1 editor:indent (atom-text-editor.editor.is-focused)
     -0:07.8 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:07.4 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:06.3 bracket-matcher:close-tag (atom-text-editor.editor.is-focused)
  4x -0:04.1 editor:delete-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -0:02.6 core:backspace (atom-text-editor.editor.is-focused)
     -0:01.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:01.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:01.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:00.9 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:00.9 snippets:expand (atom-text-editor.editor.is-focused)
     -0:00.9 editor:indent (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true
  },
  "linter": {}
}

Installed Packages

# User
editorconfig, v0.3.0
linter, v0.12.0
linter-pep8, v0.1.0
linter-xmllint, v0.0.5
minimap, v4.4.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-highlight-selected, v4.2.0
minimap-selection, v4.2.0
restore-windows, v0.3.2
sync-settings, v0.2.1

# 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