atom-ctags icon indicating copy to clipboard operation
atom-ctags copied to clipboard

Uncaught TypeError: Cannot read property 'row' of undefined

Open augustsaintfreytag opened this issue 8 years ago • 0 comments

I did nothing more than adding the package and using it in a rather expansive node server project, about 3.700 lines. When opening the CMD+R lookup and scrolling with the arrow keys, the error appeared, seemingly at random.

Atom: 1.15.0-beta3 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: atom-ctags package 5.0.0

Stack Trace

Uncaught TypeError: Cannot read property 'row' of undefined

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

TypeError: Cannot read property 'row' of undefined
    at Function.module.exports.Point.fromObject (/app.asar/node_modules/text-buffer/lib/point.js:30:23)
    at TextBuffer.module.exports.TextBuffer.clipPosition (/app.asar/node_modules/text-buffer/lib/text-buffer.js:1022:24)
    at DisplayLayer.translateBufferPosition (/app.asar/node_modules/text-buffer/lib/display-layer.js:271:34)
    at TextEditor.module.exports.TextEditor.screenPositionForBufferPosition (/app.asar/src/text-editor.js:1640:32)
    at TextEditor.module.exports.TextEditor.scrollToBufferPosition (/app.asar/src/text-editor.js:3162:47)
    at FileView.module.exports.FileView.scrollToPosition (/packages/atom-ctags/lib/file-view.coffee:116:14)
    at FileView.module.exports.FileView.scrollToItemView (/packages/atom-ctags/lib/file-view.coffee:112:6)
    at FileView.module.exports.SelectListView.selectItemView (/packages/atom-ctags/node_modules/atom-space-pen-views/lib/select-list-view.js:310:19)
    at FileView.module.exports.SelectListView.selectNextItemView (/packages/atom-ctags/node_modules/atom-space-pen-views/lib/select-list-view.js:301:19)
    at /packages/atom-ctags/node_modules/atom-space-pen-views/lib/select-list-view.js:89:19)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -5:15.2.0 core:cancel (input.hidden-input)
     -2:53.4.0 core:select-all (input.hidden-input)
     -2:52.4.0 core:confirm (input.hidden-input)
     -1:23.6.0 atom-ctags:toggle-file-symbols (input.hidden-input)
     -1:07.2.0 core:select-all (input.hidden-input)
  4x -0:53.6.0 core:backspace (input.hidden-input)
     -0:49.9.0 core:confirm (input.hidden-input)
     -0:39.5.0 atom-ctags:toggle-file-symbols (input.hidden-input)
 11x -0:37.7.0 core:move-down (input.hidden-input)
 23x -0:34.6.0 core:move-up (input.hidden-input)
     -0:32.9.0 core:move-down (input.hidden-input)
     -0:32.4.0 core:move-up (input.hidden-input)
  2x -0:31.9.0 core:move-down (input.hidden-input)
  2x -0:31.1.0 core:move-up (input.hidden-input)
  4x -0:30.4.0 core:move-down (input.hidden-input)
undefined -0:29.4.0 core:move-up (input.hidden-input)

Non-Core Packages

ariake-dark-syntax 0.1.3 
astromac-ui 0.1.0 
atom-ctags 5.0.0 
atom-handlebars 1.3.0 
aurora-theme 1.2.2 
auto-indent 0.5.0 
autoclose-html 0.23.0 
autocomplete-mathjax 0.1.1 
block-travel 1.0.5 
cake-syntax 1.0.2 
color-picker 2.2.5 
daylight-ui 0.2.2 
figlet 0.5.4 
file-icons 2.0.16 
file-watcher 1.0.2 
firewatch-hot-syntax 1.3.0 
firewatch-syntax 1.1.1 
flexible-ui 0.10.7 
fortune-background-tips 1.0.2 
git-control 0.8.2 
git-time-machine 1.5.6 
gloom 0.4.7 
improved-chester-atom-syntax 0.3.0 
language-markdown 0.19.1 
language-prolog 0.10.0 
line-count-status 0.0.3 
markdown-preview-plus 2.4.8 
markdown-writer 2.6.4 
mathjax-wrapper 0.1.0 
minimap 4.26.8 
nord-atom-syntax 0.6.0 
nord-atom-ui 0.10.1 
pacific-dark 0.5.0 
paraiso-dark 2.0.2 
peppermint-syntax 1.2.2 
pigments 0.39.0 
rocinante-syntax 0.2.1 
sepia-syntax 1.1.0 
space-tab 0.4.2 
spacegray-light-syntax 0.1.0 
terminal-plus 0.14.5 
theme-alien-syntax 0.6.0 
vierton-syntax 0.1.5 
wordcount 2.10.4 

augustsaintfreytag avatar Mar 03 '17 12:03 augustsaintfreytag