minimap: Uncaught Error: This TextEditor has been destroyed
- Open any file
- Close it
- Error pops up
Atom Version: 1.7.2 System: elementaryOS Freya 64-bit (Ubuntu 14.04) Thrown From: minimap package, v4.23.1
Stacktrace:
Error: This TextEditor has been destroyed
at DisplayBuffer.module.exports.DisplayBuffer.screenPositionForBufferPosition (/usr/share/atom/resources/app.asar/src/display-buffer.js:794:15)
at DisplayBuffer.module.exports.DisplayBuffer.screenRangeForBufferRange (/usr/share/atom/resources/app.asar/src/display-buffer.js:758:20)
at TextEditorMarker.module.exports.TextEditorMarker.getScreenRange (/usr/share/atom/resources/app.asar/src/text-editor-marker.js:141:33)
at Minimap.emitDecorationChanges (/home/ptemel/.atom/packages/minimap/lib/mixins/decoration-management.js:477:35)
at Minimap.removeAllDecorationsForMarker (/home/ptemel/.atom/packages/minimap/lib/mixins/decoration-management.js:573:12)
at /home/ptemel/.atom/packages/minimap/lib/mixins/decoration-management.js:349:14
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at TextEditorMarker.module.exports.TextEditorMarker.destroyed (/usr/share/atom/resources/app.asar/src/text-editor-marker.js:229:20)
at /usr/share/atom/resources/app.asar/src/text-editor-marker.js:37:24
at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at Marker.module.exports.Marker.destroy (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker.js:252:27)
at TextEditorMarker.module.exports.TextEditorMarker.destroy (/usr/share/atom/resources/app.asar/src/text-editor-marker.js:43:25)
at TextEditorMarkerLayer.module.exports.TextEditorMarkerLayer.destroy (/usr/share/atom/resources/app.asar/src/text-editor-marker-layer.js:27:32)
at DisplayBuffer.module.exports.DisplayBuffer.destroyed (/usr/share/atom/resources/app.asar/src/display-buffer.js:1164:31)
at DisplayBuffer.module.exports.Model.destroy (/usr/share/atom/resources/app.asar/src/model.js:31:58)
at TextEditor.module.exports.TextEditor.destroyed (/usr/share/atom/resources/app.asar/src/text-editor.js:292:26)
at TextEditor.module.exports.Model.destroy (/usr/share/atom/resources/app.asar/src/model.js:31:58)
at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app.asar/src/pane.js:639:18)
at Pane.module.exports.Pane.destroyActiveItem (/usr/share/atom/resources/app.asar/src/pane.js:617:12)
at Workspace.module.exports.Workspace.destroyActivePaneItem (/usr/share/atom/resources/app.asar/src/workspace.js:692:35)
at Workspace.module.exports.Workspace.closeActivePaneItemOrEmptyPaneOrWindow (/usr/share/atom/resources/app.asar/src/workspace.js:731:21)
at atom-workspace.commandRegistry.add.core:close (/usr/share/atom/resources/app.asar/src/register-default-commands.js:211:32)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 28
- Comments: 15 (3 by maintainers)
Im having the same Issue. Atom 1.7.2 Windows 10
It only happens with some files but i cannot find a pattern.
EDIT: Disable the package “minimap-git-diff” and doesn’t happen anymore, i think that the new update doesn’t work well with this package
Make workey. (please)
Atom 1.7.2 Mac OS X El Capitan 10.11.4 Error pops up when I click in a file.
Hi there, thanks for the report, I’m also reproducing it with
minimap-git-diff
. I will take a look at that quickly.Hi there, looks like many of you are using somehow old versions of Atom, maybe you could try after an update to make sure that the issue hadn’t already been fixed.
@abe33 I’m still getting this error sometimes, when I close a tab.
Atom Version: 1.7.1 System: Ubuntu 16.04.1 Thrown From: minimap package, v4.25.5
Stack Trace
Uncaught Error: This TextEditor has been destroyed
Commands
Config
Installed Packages