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 'element' of undefined #658

Open
youngjuning opened this issue Mar 12, 2018 · 0 comments
Open

Uncaught TypeError: Cannot read property 'element' of undefined #658

youngjuning opened this issue Mar 12, 2018 · 0 comments
Labels

Comments

@youngjuning
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.1 x64
Electron: 1.6.16
OS: Unknown Windows version
Thrown From: minimap package 4.29.8

Stack Trace

Uncaught TypeError: Cannot read property 'element' of undefined

At C:\Users\10037\AppData\Local\atom\app-1.24.1\resources\app\src\text-editor-component.js:2246

TypeError: Cannot read property 'element' of undefined
    at TextEditorComponent.measureLongestLineWidth (~/AppData/Local/atom/app-1.24.1/resources/app/src/text-editor-component.js:2246:63)
    at TextEditorComponent.measureContentDuringUpdateSync (~/AppData/Local/atom/app-1.24.1/resources/app/src/text-editor-component.js:399:16)
    at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.24.1/resources/app/src/text-editor-component.js:284:18)
    at TextEditorComponent.pixelPositionForScreenPosition (~/AppData/Local/atom/app-1.24.1/resources/app/src/text-editor-component.js:206:18)
    at HTMLElement.pixelPositionForScreenPosition (/app.asar/src/text-editor-element.js:246:32)
    at StableAdapter.computeScrollTop (/packages/minimap/lib/adapters/stable-adapter.js:66:42)
    at StableAdapter.getScrollTop (/packages/minimap/lib/adapters/stable-adapter.js:47:36)
    at Minimap.getTextEditorScaledScrollTop (/packages/minimap/lib/minimap.js:529:25)
    at HTMLElement.update (/packages/minimap/lib/minimap-element.js:808:36)
    at requestAnimationFrame (/packages/minimap/lib/minimap-element.js:780:12)

Commands

Non-Core Packages

activate-power-mode 2.7.0 
advanced-open-file 0.16.8 
api-docs 0.0.6 
atom-beautify 0.32.2 
atom-bomb 0.3.0 
atom-bootstrap3 1.2.12 
atom-ide-ui 0.9.3 
atom-leancloud 1.0.0 
atom-minify 0.8.0 
autocomplete-json 5.5.2 
autocomplete-paths 2.12.2 
build 0.70.0 
build-gulp 0.11.0 
busy-signal 1.4.3 
color-picker 2.2.5 
css-snippets 1.1.0 
docblockr 0.13.7 
emmet 2.4.3 
emmet-snippets-compatibility 1.0.6 
expose 0.15.0 
fe-snippets 1.0.0 
file-icons 2.1.17 
flex-tool-bar 1.1.0 
gulp-snippets 0.6.2 
highlight-line 0.12.0 
highlight-selected 0.13.1 
html2jade-plus 1.0.0 
hyperclick 0.0.0 
hyperlink-hyperclick 1.3.4 
ide-css 0.2.0 
ide-html 0.4.2 
ide-json 0.2.1 
ide-php 0.7.9 
javascript-snippets 1.2.1 
jquery-snippets 11.0.0 
language-apache 1.8.0 
language-html-swig 2.0.1 
language-ini 1.19.0 
language-log 1.10.1 
language-markdown 0.25.1 
language-nginx 0.8.0 
language-pug 0.0.22 
language-stylus 0.2.0 
language-vuejs 0.3.1 
language-wx 0.2.1 
linter-jshint 3.1.6 
markdown-preview-enhanced 0.15.3 
markdown-table-editor 1.1.0 
markdown-writer 2.7.3 
minimap 4.29.8 
minimap-find-and-replace 4.5.2 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.1.3 
one-dark-material-syntax 1.0.3 
open-file 1.4.0 
open-in-browsers 0.0.30 
open-terminal-here 2.3.1 
pdf-view 0.65.0 
php-server 0.8.0 
pigments 0.40.2 
regex-railroad-diagram 0.19.4 
remote-ftp 2.1.4 
simple-drag-drop-text 0.4.0 
simplified-chinese-menu 5.3.5 
source-preview 0.5.3 
source-preview-pug 0.2.0 
sublime-block-comment 0.5.1 
sync-settings 0.8.5 
todo-show 2.2.0 
toggle-quotes 1.1.0 
toggler 0.3.1 
tool-bar 1.1.6 
tree-view-git-status 1.4.0 
vue-element-ui-snippets 0.7.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