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 'get' of undefined #605

Closed
facuescobar opened this issue Jun 14, 2017 · 0 comments
Closed

Uncaught TypeError: Cannot read property 'get' of undefined #605

facuescobar opened this issue Jun 14, 2017 · 0 comments
Labels

Comments

@facuescobar
Copy link

facuescobar commented Jun 14, 2017

  1. I disabled minimap package (sorry)
  2. When I was back to my project files, I got the error
  3. Can be caused because I also have installed and enabled minimap-highlight-selected?
  4. I also disabled minimap-highlight-selected and restarted Atom and it seems to be fine.

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Mac OS X 10.12.4
Thrown From: minimap package 4.28.2

Stack Trace

Uncaught TypeError: Cannot read property 'get' of undefined

At /Users/fackius/.atom/packages/minimap/lib/main.js:321

TypeError: Cannot read property 'get' of undefined
    at Main.minimapForEditor (/packages/minimap/lib/main.js:321:39)
    at MinimapHighlightSelected.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:48:24)
    at MinimapHighlightSelected.markerCreated (/packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:1:1)
    at /packages/minimap-highlight-selected/lib/minimap-highlight-selected.coffee:39:62
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:1)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:1)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:163:20
    at ForwardsSingleLine.iterate (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/match-iterator.js:94:1)
    at TextBuffer.module.exports.TextBuffer.scanInRange (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:982:1)
    at TextEditor.module.exports.TextEditor.scanInBufferRange (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2689:1)
    at HighlightedAreaView.module.exports.HighlightedAreaView.highlightSelectionInEditor (/packages/highlight-selected/lib/highlighted-area-view.coffee:151:12)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:136:10
    at Array.forEach (native)
    at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:135:27)
    at HighlightedAreaView.handleSelection (/packages/highlight-selected/lib/highlighted-area-view.coffee:1:1)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:62:8

Commands

     -2:39.4.0 core:save (input.hidden-input)
     -2:24.5.0 core:copy (input.hidden-input)
  2x -2:21.1.0 editor:newline (input.hidden-input)
     -2:20.1.0 core:paste (input.hidden-input)
     -2:19.3.0 core:save (input.hidden-input)
     -2:07.9.0 core:copy (input.hidden-input)
     -1:30.1.0 application:new-file (input.hidden-input)
     -1:26 tabs:open-in-new-window (div.title)
  2x -1:11.3.0 core:close (input.hidden-input)
     -0:27.9.0 core:copy (input.hidden-input)
     -0:23.8.0 editor:newline (input.hidden-input)
     -0:23.6.0 core:paste (input.hidden-input)
     -0:22.6.0 core:save (input.hidden-input)
     -0:21.6.0 core:cut (input.hidden-input)
     -0:21.3.0 core:save (input.hidden-input)
     -0:13.8.0 core:copy (input.hidden-input)

Non-Core Packages

advanced-open-file 0.16.6 
atom-beautify 0.29.26 
atom-dark-fusion-syntax 2.2.0 
atom-material-syntax 1.0.6 
atom-monokai 0.10.9 
atom-monokai-soda 3.0.1 
atomic-chrome 0.3.0 
autocomplete-modules 1.6.10 
ax-monokai-syntax 0.2.0 
behave-theme 1.7.0 
block-comment-lines 0.2.4 
busy-signal 1.4.3 
color-picker 2.2.5 
editorconfig 2.2.2 
file-icons 2.1.7 
flow-ide 1.5.0 
git-plus 7.9.3 
highlight-selected 0.13.1 
intentions 1.1.2 
isotope-ui 2.8.5 
jslint 1.5.1 
language-babel 2.65.1 
language-javascript-jsx 0.3.7 
linter 2.1.4 
linter-eslint 8.2.1 
linter-ui-default 1.6.0 
minimap 4.28.2 
minimap-highlight-selected 4.6.1 
minimap-pigments 0.2.2 
pigments 0.39.1 
react 0.16.2 
redeye-ui 0.5.0 
Sublime-Style-Column-Selection 1.7.4 
todo-show 1.11.0 
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