minimap
minimap copied to clipboard
Uncaught TypeError: Cannot read property 'canScroll' of null
This occurs when creating a commit message using the Git Plus package.
Atom Version: 1.2.0-dev-2cb77aa System: Mac OS X 10.11.1 Thrown From: minimap package, v4.16.0
Stack Trace
Uncaught TypeError: Cannot read property 'canScroll' of null
At /Users/hawk/.atom/packages/minimap/lib/minimap-element.coffee:414
TypeError: Cannot read property 'canScroll' of null
at atom-text-editor-minimap.MinimapElement.update (/Users/hawk/.atom/packages/minimap/lib/minimap-element.coffee:414:44)
at /Users/hawk/.atom/packages/minimap/lib/minimap-element.coffee:366:8
Commands
-0:42.4.0 core:save (atom-text-editor.editor.is-focused)
-0:41.7.0 command-palette:toggle (atom-text-editor.editor.is-focused)
2x -0:39.5.0 core:backspace (atom-text-editor.editor.is-focused)
2x -0:38.5.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
-0:18.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:17.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:17.1.0 git-plus:add (atom-text-editor.editor)
-0:16.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:15.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:15.3.0 git-plus:commit (atom-text-editor.editor)
2x -0:10 core:backspace (atom-text-editor.editor.is-focused)
-0:04.7.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
-0:03.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
2x -0:01.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
-0:00.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:00.9.0 git-plus:push (atom-text-editor.editor)
Config
{
"core": {
"ignoredNames": [
".git",
".hg",
".svn",
".DS_Store",
"Thumbs.db",
".gradle",
".idea",
".iml",
".ipr",
".iws",
".sublime-workspace"
],
"themes": [
"spacegray-dark-ui",
"base16-ocean-dark-spacegray-lighter-invisibles"
],
"projectHome": "/Users/hawk/Development",
"disabledPackages": [
"tidy-markdown",
"clojure-eval-in-repl",
"r-exec",
"scala-worksheet",
"atom-live-grammar-reload",
"markdown-preview-katex",
"haskell-pointfree",
"atom-beautify",
"linter-chktex",
"pigments"
]
},
"minimap": {
"useHardwareAcceleration": false
}
}
Installed Packages
# User
autocomplete-bibtex, v0.6.1
base16-ocean-dark-spacegray-lighter-invisibles, v0.3.0
color-picker, v2.0.13
docblockr, v0.7.3
editorconfig, v1.2.2
file-icons, v1.6.11
git-plus, v5.4.7
gradle-ci, v1.1.4
haskell-ghc-mod, v1.1.1
language-arm, v1.2.0
language-cmake, v0.1.4
language-gitignore, v0.2.0
language-gradle, v0.0.3
language-groovy, v0.4.0
language-haskell, v1.4.12
language-latex, v0.6.1
language-lisp, v0.1.2
language-r, v0.4.0
language-rust, v0.4.5
language-scala, v1.1.4
language-x86-64-assembly, v2.1.5
latex, v0.28.0
latexer, v0.2.7
linter, v1.10.0
linter-clang, v3.3.0
linter-clojure, v1.0.0
linter-hlint, v0.4.2
linter-javac, v1.2.0
linter-pep8, v1.0.1
linter-rust, v0.2.10
linter-scalac, v1.1.0
mac-fix-path, v0.0.0
markdown-preview-opener, v0.1.1
markdown-writer, v2.0.1
minimap, v4.16.0
pdf-view, v0.34.0
processing-language, v0.2.0
project-manager, v2.6.5
racer, v0.17.2
regex-railroad-diagram, v0.10.4
scala-format, v0.1.8
spacegray-dark-ui, v0.12.0
tabs-to-spaces, v0.11.1
travis-ci-status, v0.18.0
wakatime, v5.0.0
# Dev
No dev packages
Interesting, thanks for reporting it, I haven't spent enough time testing the minimap on beta/dev as the transition from 1.0.19 to 1.1.0 triggered a lot of errors, but it's in my todo fo the next weeks so I'll make sure to check that as well.
Yeah, that's fine, this issue isn't ruining my life or anything, I just thought you'd want to be aware. :)
Same error on Atom Mac..
It looks to me that #410 was pretty much the same issue, so I hope the patch in v4.16.1 should have the same effect, please let me know if it worked for you (please reload Atom after the update, if you update through the settings view)