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 'addMarkerAtLevel' of undefined #458

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

Comments

@yajo
Copy link

yajo commented Mar 5, 2015

[Enter steps to reproduce below:]

I was writing this in an XML file:

<a>
    <b>
        <c><!-- Caret was here -->
    </b>    
</a>

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 'addMarkerAtLevel' of undefined

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

TypeError: Cannot read property 'addMarkerAtLevel' of undefined
  at IntervalSkipList.module.exports.IntervalSkipList.placeMarker (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:379:13)
  at IntervalSkipList.module.exports.IntervalSkipList.insert (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:183:12)
  at IntervalSkipList.module.exports.IntervalSkipList.update (/usr/share/atom/resources/app/node_modules/text-buffer/node_modules/interval-skip-list/lib/interval-skip-list.js:207:19)
  at Marker.module.exports.Marker.updateIntervals (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker.js:545:37)
  at new Marker (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker.js:103:12)
  at MarkerManager.module.exports.MarkerManager.createMarker (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker-manager.js:181:16)
  at MarkerManager.module.exports.MarkerManager.markRange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/marker-manager.js:87:19)
  at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:645:27)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app/src/display-buffer.js:1272:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app/src/text-editor.js:1323:59)
  at LinterView.createMarker (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:185:22)
  at LinterView.display (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:222:17)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:173:8)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:1:1)
  at /home/jllopis/.atom/packages/linter/lib/linter-view.coffee:159:14
  at LinterXmllint.Linter.processMessage (/home/jllopis/.atom/packages/linter/lib/linter.coffee:181:5)
  at /home/jllopis/.atom/packages/linter/lib/linter.coffee:155:8
  at BufferedProcess.triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:63:47)
  at /usr/share/atom/resources/app/src/buffered-process.js:77:18
  at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:138:20)
  at Pipe.close (net.js:477:12)

Commands

     -0:36.3 core:move-up (atom-text-editor.editor.is-focused)
  3x -0:36.1 core:move-right (atom-text-editor.editor.is-focused)
  3x -0:35.6 core:move-up (atom-text-editor.editor.is-focused)
     -0:34.8 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -0:25.8 pane:show-next-item (atom-text-editor.editor)
     -0:24.2 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -0:15.3 pane:show-next-item (atom-text-editor.editor)
     -0:13.9 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -0:10.6 pane:show-next-item (atom-text-editor.editor)
     -0:09.0 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -0:07.3 pane:show-next-item (atom-text-editor.editor)
     -0:03.2 editor:newline (atom-text-editor.editor.is-focused)
     -0:03.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:03.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:03.0 editor:indent (atom-text-editor.editor.is-focused)
     -0:02.6 core:backspace (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