{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/3579","labels_url":"https://api.github.com/repos/atom/atom/issues/3579/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/3579/comments","events_url":"https://api.github.com/repos/atom/atom/issues/3579/events","html_url":"https://github.com/atom/atom/issues/3579","id":43165493,"number":3579,"title":"Editor::getCursorScopes throwing error","user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/atom/atom/labels/uncaught-exception","name":"uncaught-exception","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-09-18T18:45:51Z","updated_at":"2015-07-30T00:14:45Z","closed_at":"2015-07-30T00:14:45Z","body":"Seeing a lot of these in bugsnag:\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'tokenAtBufferColumn' of undefined\r\nsrc/tokenized-buffer.js:481:38 TokenizedBuffer.module.exports.TokenizedBuffer.tokenForPosition\r\nsrc/tokenized-buffer.js:475:19 TokenizedBuffer.module.exports.TokenizedBuffer.scopesForPosition\r\nsrc/display-buffer.js:962:35 DisplayBuffer.module.exports.DisplayBuffer.scopesForBufferPosition\r\nsrc/editor.js:1366:33 Editor.module.exports.Editor.scopesForBufferPosition\r\nsrc/cursor.js:678:26 Cursor.module.exports.Cursor.getScopes\r\nsrc/editor.js:1378:35 Editor.module.exports.Editor.getCursorScopes\r\nnode_modules/bracket-matcher/lib/tag-finder.js:39:51 TagFinder.module.exports.TagFinder.isCursorOnTag\r\nnode_modules/bracket-matcher/lib/tag-finder.js:140:16 TagFinder.module.exports.TagFinder.findMatchingTags\r\nnode_modules/bracket-matcher/lib/bracket-matcher-view.js:182:35 BracketMatcherView.module.exports.BracketMatcherView.updateMatch\r\nnode_modules/emissary/lib/emitter.js:118:15 Cursor.module.exports.Emitter.emit\r\nnode_modules/event-kit/lib/emitter.js:35:25 Emitter.module.exports.Emitter.emit\r\nsrc/display-buffer-marker.js:274:38 DisplayBufferMarker.module.exports.DisplayBufferMarker.resumeChangeEvents\r\nsrc/display-buffer.js:1272:16 DisplayBuffer.module.exports.DisplayBuffer.resumeMarkerChangeEvents\r\nsrc/display-buffer.js:271:19 DisplayBuffer.module.exports.DisplayBuffer.emitDidChange\r\nsrc/display-buffer.js:1465:21 DisplayBuffer.module.exports.DisplayBuffer.handleBufferMarkersUpdated\r\nnode_modules/event-kit/lib/emitter.js:35:25 Emitter.module.exports.Emitter.emit\r\nnode_modules/text-buffer/lib/text-buffer.js:453:27 TextBuffer.module.exports.TextBuffer.applyPatch\r\nnode_modules/text-buffer/lib/buffer-patch.js:74:21 BufferPatch.module.exports.BufferPatch.applyTo\r\nnode_modules/text-buffer/lib/transaction.js:56:29 Transaction.module.exports.Transaction.applyTo\r\nnode_modules/text-buffer/lib/history.js:72:24 History.module.exports.History.undo\r\nnode_modules/text-buffer/lib/text-buffer.js:1015:27 TextBuffer.module.exports.TextBuffer.undo\r\nsrc/editor.js:1281:26 Editor.module.exports.Editor.undo\r\nsrc/editor-component.js:556:25 addCommandListeners.core:undo\r\nsrc/editor-component.js:834:18 <anonymous>\r\nnode_modules/space-pen/vendor/jquery.js:4676:9 jQuery.event.dispatch\r\nnode_modules/space-pen/vendor/jquery.js:4360:46 elemData.handle\r\nnode_modules/atom-keymap/lib/keymap-manager.js:459:16 KeymapManager.module.exports.KeymapManager.dispatchCommandEvent\r\nnode_modules/atom-keymap/lib/keymap-manager.js:228:22 KeymapManager.module.exports.KeymapManager.handleKeyboardEvent\r\nsrc/window-event-handler.js:151:20 module.exports.WindowEventHandler.onKeydown\r\n```"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/126134008","html_url":"https://github.com/atom/atom/issues/3579#issuecomment-126134008","issue_url":"https://api.github.com/repos/atom/atom/issues/3579","id":126134008,"user":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"created_at":"2015-07-30T00:14:45Z","updated_at":"2015-07-30T00:14:45Z","body":"Closing this out, only see these in bugsnag for really old versions, nothing close to Atom 1.0.0 or above."}}