Reproduction
- Split panes
- Run
pane:swap-item
- Swap occurs, but error message appears intermittently
Atom Version: 1.3.0
System: Mac OS X 10.10.5
Thrown From: paner package, v0.1.14
Stack Trace
Uncaught Error: Adding a pane item with URI 'undefined' that has already been destroyed
At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:331
Error: Adding a pane item with URI 'undefined' that has already been destroyed
at Pane.module.exports.Pane.addItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:331:15)
at Pane.module.exports.Pane.moveItemToPane (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:429:19)
at swapActiveItem (/Users/jsandberg/.atom/packages/paner/lib/utils.coffee:60:13)
at Object.module.exports.swapItem (/Users/jsandberg/.atom/packages/paner/lib/main.coffee:118:9)
at atom-workspace.subscriptions.add.atom.commands.add.paner:swap-item (/Users/jsandberg/.atom/packages/paner/lib/main.coffee:45:32)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:99:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
Commands
5x -1:02.3.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
3x -0:10.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:09.1.0 pane:show-previous-item (atom-text-editor.editor.mini.is-focused)
-0:09.1.0 blur (atom-text-editor.editor.mini.is-focused)
-0:08.5.0 pane:show-previous-item (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:08.4.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:07.8.0 pane:show-next-item (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:07.8.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:06.8.0 pane:show-next-item (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
2x -0:06.6.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:06.1.0 core:close (atom-text-editor.editor.mini.is-focused)
-0:06.0 blur (atom-text-editor.editor.mini.is-focused)
-0:05.5.0 pane:show-previous-item (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:05.5.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:03.6.0 paner:swap-item (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:03.5.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
Config
{
"core": {
"themes": [
"quantum-ui",
"base16-tomorrow-dark-theme"
],
"audioBeep": false,
"destroyEmptyPanes": false,
"excludeVcsIgnoredPaths": false,
"disabledPackages": [
"save-session",
"emacs-flow",
"autocomplete",
"feedback",
"deprecation-cop",
"ruby-string-interpolation"
],
"packagesWithKeymapsDisabled": [
"highlight-line",
"whitespace",
"notifications"
]
}
}
Installed Packages
# User
Sublime-Style-Column-Selection, v1.3.0
api-workbench, v0.8.8
atom-alignment, v0.12.1
auto-indent, v0.5.0
autocomplete-emojis, v2.2.2
autocomplete-paths, v1.0.2
bezier-curve-editor, v0.7.2
clip-history, v0.1.12
color-picker, v2.0.14
column-select, v0.2.0
ctags-status, v1.3.4
cursor-history, v0.5.9
dockerletion, v0.1.0
file-icons, v1.6.13
foldingtext-for-atom, v0.9.2
foldingtext-markdown, v1.3.2
gist-it, v0.8.0
git-log, v0.4.1
highlight-column, v0.5.0
highlight-line, v0.11.0
highlight-selected, v0.11.1
html-entities, v0.4.0
indentation-indicator, v0.6.0
language-diff, v0.4.0
language-docker, v1.1.6
language-fish-shell, v1.0.2
language-generic-config, v1.0.0
language-haml, v0.23.13
language-log, v1.1.0
language-pfm, v0.82.0
language-rspec, v0.3.0
language-slim, v0.5.0
linter, v1.11.3
linter-coffeelint, v1.1.2
linter-docker, v0.1.2
linter-haml, v1.0.0
linter-js-yaml, v1.2.5
linter-jshint, v1.2.1
linter-jsonlint, v1.1.0
linter-rubocop, v0.4.4
linter-slim, v1.0.0
linter-xmllint, v1.1.0
markdown-scroll-sync, v2.0.3
minimap, v4.17.0
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.4.0
minimap-git-diff, v4.1.8
minimap-highlight-selected, v4.3.1
minimap-linter, v1.0.0
minimap-selection, v4.3.1
pain-split, v1.4.0
paner, v0.1.14
project-manager, v2.6.5
quantum-ui, v0.2.2
red-wavy-underline, v0.3.0
ruby-block, v0.3.5
ruby-block-converter, v3.5.0
set-syntax, v0.3.0
swap-panes, v0.2.0
symbols-tree-view, v0.10.1
sync-settings, v0.6.0
tablr, v0.9.0
tabs-to-spaces, v1.0.1
underline-trailing-whitespace, v1.4.0
vim-mode-plus, v0.8.0
white-cursor, v0.6.0
# Dev
No dev packages
Reproduction
pane:swap-itemAtom Version: 1.3.0
System: Mac OS X 10.10.5
Thrown From: paner package, v0.1.14
Stack Trace
Uncaught Error: Adding a pane item with URI 'undefined' that has already been destroyed
Commands
Config
{ "core": { "themes": [ "quantum-ui", "base16-tomorrow-dark-theme" ], "audioBeep": false, "destroyEmptyPanes": false, "excludeVcsIgnoredPaths": false, "disabledPackages": [ "save-session", "emacs-flow", "autocomplete", "feedback", "deprecation-cop", "ruby-string-interpolation" ], "packagesWithKeymapsDisabled": [ "highlight-line", "whitespace", "notifications" ] } }Installed Packages