You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannot read property 'invisibles' of undefined
Atom Version: 0.156.0 System: Mac OS X 10.10.1 Thrown From: minimap package, v3.4.7
Steps To Reproduce
It appears visualizing .less files. It may happen both when opening them or when switching from a tab to another (but always when entering a .less file).
Sometimes an error rise in the console log, showing a stack trace like the one below.
Sometimes the minimap is empty until I scroll down the file. No errors in the console log in this case.
Sometimes it just works fine.
I can not exclude that this issue may arise also for other file types, if I'll observe the same behavior I'll add some comments, but at the moment this seems limited to .less files only.
Here are some of the plug-ins I've installed and that may be related to .less files:
autocomplete-plus 0.22.3
color picker 1.2.6
Language Less 0.21.0
Less autocompile 0.3.3
Linter less 0.3.1
Stack Trace
At /Users/stefano/.atom/packages/minimap/lib/minimap-render-view.coffee:441
TypeError: Cannot read property 'invisibles' of undefined
at MinimapRenderView.module.exports.MinimapRenderView.drawLines (/Users/stefano/.atom/packages/minimap/lib/minimap-render-view.coffee:441:8)
at MinimapRenderView.module.exports.MinimapRenderView.update (/Users/stefano/.atom/packages/minimap/lib/minimap-render-view.coffee:157:8)
at MinimapRenderView.update (/Users/stefano/.atom/packages/minimap/lib/minimap-render-view.coffee:1:1)
at MinimapRenderView.module.exports.MinimapRenderView.scrollTop (/Users/stefano/.atom/packages/minimap/lib/minimap-render-view.coffee:217:6)
at MinimapView.module.exports.MinimapView.updatePositions (/Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:408:17)
at MinimapView.module.exports.MinimapView.updateScrollY (/Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:390:6)
at MinimapView.updateScrollY (/Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
at MinimapView.module.exports.MinimapView.updateScroll (/Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:401:6)
at MinimapView.updateScroll (/Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
at /Users/stefano/.atom/packages/minimap/lib/minimap-view.coffee:299:8
thanks in advance :)
/cc @atom/core
The text was updated successfully, but these errors were encountered:
Thank you!
there is no rush at all since the error it is not so frequent and not critical (if I scroll down the code, the minimap appears).
I try to add some additional info:
it just occurred to me also with a plain javascript file. This means that the problem is more generic than for .less files only.
I haven't a precise idea of when the error appeared for the first time to me. I would exclude that it was present more than 10 days ago, possibly even a couple of days ago (but I didn't used atom daily this week). Thus if the issue is related to your plug-in, it should have appeared approximately with the latest 3.3.x releases or more probably after 3.4.0 release.
At the moment I do not have any noticeable issue with other plugins
Uncaught TypeError: Cannot read property 'invisibles' of undefined
Atom Version: 0.156.0
System: Mac OS X 10.10.1
Thrown From: minimap package, v3.4.7
Steps To Reproduce
It appears visualizing
.less
files. It may happen both when opening them or when switching from a tab to another (but always when entering a.less
file).I can not exclude that this issue may arise also for other file types, if I'll observe the same behavior I'll add some comments, but at the moment this seems limited to .less files only.
Here are some of the plug-ins I've installed and that may be related to .less files:
Stack Trace
thanks in advance :)
/cc @atom/core
The text was updated successfully, but these errors were encountered: