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 'lineText' of undefined #621

Open
lonwaters opened this issue Aug 1, 2017 · 0 comments
Open

Uncaught TypeError: Cannot read property 'lineText' of undefined #621

lonwaters opened this issue Aug 1, 2017 · 0 comments
Labels

Comments

@lonwaters
Copy link

[Enter steps to reproduce:]

  1. running in vim-mode with several vim extension
  2. several open files in tabs
  3. switched to new tab
  4. performed a shift-g to go to end of file
  5. error dialog appeared

this is not a reliable forumla, something else I have not identified is required to get into a state that will trigger the error by this set of actions (mainly item 3 and 4)

Atom: 1.18.0 ia32
Electron: 1.3.15
OS: Microsoft Windows 10 Home
Thrown From: minimap package 4.29.3

Stack Trace

Uncaught TypeError: Cannot read property 'lineText' of undefined

At C:\Users\lon.waters\AppData\Local\atom\app-1.18.0\resources\app\src\text-editor.js:1007

TypeError: Cannot read property 'lineText' of undefined
    at TextEditor.module.exports.TextEditor.tokensForScreenRow (~/AppData/Local/atom/app-1.18.0/resources/app/src/text-editor.js:1007:75)
    at /packages/minimap/lib/mixins/canvas-drawer.js:419:14)
    at /packages/minimap/lib/mixins/canvas-drawer.js:453:10)
    at /packages/minimap/lib/mixins/canvas-drawer.js:270:14)
    at /packages/minimap/lib/mixins/canvas-drawer.js:136:10)
    at /packages/minimap/lib/mixins/canvas-drawer.js:104:10)
    at /packages/minimap/lib/minimap-element.js:884:10)
    at requestAnimationFrame (/packages/minimap/lib/minimap-element.js:777:12)

Commands

     -0:57.5.0 vim-mode-plus:move-to-next-word (input.hidden-input)
  2x -0:56.5.0 core:backspace (input.hidden-input)
     -0:52.6.0 autocomplete-plus:move-down (input.hidden-input)
     -0:52.3.0 autocomplete-plus:confirm (input.hidden-input)
     -0:51.8.0 vim-mode-plus:activate-normal-mode (input.hidden-input)
     -0:51.3.0 vim-mode-plus:repeat-search (input.hidden-input)
     -0:51.1.0 vim-mode-plus:repeat (input.hidden-input)
     -0:50.9.0 vim-mode-plus:repeat-search (input.hidden-input)
     -0:50.2.0 vim-mode-plus:repeat (input.hidden-input)
     -0:49.5.0 vim-mode-plus-ex-mode:open (input.hidden-input)
     -0:49.2.0 core:confirm (input.hidden-input)
  6x -0:47.5.0 vim-mode-plus:move-up (input.hidden-input)
  2x -0:45.4.0 vim-mode-plus:yank (input.hidden-input)
  3x -0:34.6.0 vim-mode-plus:move-up (input.hidden-input)
     -0:31.8.0 vim-mode-plus:move-to-last-line (input.hidden-input)
 25x -0:29.7.0 vim-mode-plus:move-up (input.hidden-input)

Non-Core Packages

atom-keyboard-macros 0.9.2 
atom-keyboard-macros-vim 0.1.6 
autocomplete-date 0.4.0 
busy-signal 1.4.3 
chary-tree-view 0.2.13 
date 1.2.2 
editor-settings 1.1.3 
file-hyperclick 0.1.0 
file-icons 2.1.9 
highlight-selected 0.13.1 
intentions 1.1.5 
language-vb 0.1.0-pre1 
linter 2.2.0 
linter-cppcheck 0.2.3 
linter-ui-default 1.6.3 
markdown-pdf 1.5.4 
markdown-preview-plus 2.4.10 
markdown-scroll-sync 2.1.2 
markdown-writer 2.6.5 
maximize-panes 0.2.0 
minimap 4.29.3 
minimap-highlight-selected 4.6.1 
omnisharp-atom 0.31.2 
open-recent 5.0.0 
pandoc 0.2.2 
pandoc-convert 1.1.1 
pane-layout-plus 0.7.3 
platformio-ide-terminal undefined 
python-debugger 0.2.0 
split-diff 1.4.3 
Sublime-Style-Column-Selection 1.7.4 
svn 0.0.13 
tortoise-svn 0.5.1 
vim-mode-plus 0.96.2 
vim-mode-plus-ex-mode 0.9.1 
vim-mode-plus-keymaps-for-surround 0.2.1 
vim-mode-plus-move-selected-text 0.10.0 
vim-mode-plus-move-to-symbols 0.3.0 
vim-surround 0.8.1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants