Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught Error: Pane has been destroyed #108

Closed

Description

@wwvuillemot

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.169.0
System: Mac OS X 10.10.1
Thrown From: tabs package, v0.61.0

Stack Trace

Uncaught Error: Pane has been destroyed

At /Applications/Atom.app/Contents/Resources/app/src/pane.js:579

Error: Pane has been destroyed
  at Pane.module.exports.Pane.activate (/Applications/Atom.app/Contents/Resources/app/src/pane.js:579:15)
  at PaneContainer.module.exports.PaneContainer.activateNextPane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:274:26)
  at Pane.module.exports.Pane.destroyed (/Applications/Atom.app/Contents/Resources/app/src/pane.js:600:24)
  at Pane.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app/node_modules/theorist/lib/model.js:218:14)
  at Pane.module.exports.Pane.destroy (/Applications/Atom.app/Contents/Resources/app/src/pane.js:593:39)
  at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:399:21)
  at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:443:16)
  at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:174:22)
  at space-pen-ul.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4676:9)
  at space-pen-ul.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/archive-view/node_modules/atom-space-pen-views/node_modules/space-pen/vendor/jquery.js:4360:46)

Commands

     -0:51.6 window:update-available (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui)
     -0:48.5 core:close (atom-text-editor.editor)
     -0:00.0 core:confirm (atom-text-editor.editor.mini)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

/cc @atom/core

Activity

  1. winstliu commented on Jan 19, 2015

    @winstliu
    Contributor

    Hi @wwvuillemot, can you share some steps to reproduce this? Also, if possible, can you please update to the latest Atom version (currently 0.184.0) and see if you can still reproduce this error?

  2. ijanos commented on Mar 2, 2015

    @ijanos

    Steps to reproduce with 0.184.0

    1. start with no tabs open
    2. open a markdown file
    3. generate a markdown preview, this opens pane to the right
    4. close the original tab, this will extend the right pane to take the whole window
    5. right click on the preview tab and choose "Split Right"
  3. winstliu commented on Mar 2, 2015

    @winstliu
    Contributor

    Confirmed, thanks!

  4. jccr commented on Jun 23, 2015

    @jccr

    It appears to be because the pane item it tries to copy (markdown preview view in this case) has no "copy" method implemented.

  5. Arcanemagus commented on Mar 4, 2016

    @Arcanemagus

    For another set of steps to reproduce:

    1. Open a file in preview mode (single click)
    2. Split a file right (opens in "regular" mode)
    3. Single click on a third file, this should open in preview mode in the right pane
    4. Attempt to drag the newest preview mode tab over to the left side

    Atom Version: 1.6.0-beta7
    System: Microsoft Windows 10 Enterprise
    Thrown From: tabs package, v0.91.1

    Stack Trace

    Uncaught Error: Pane has been destroyed

    At C:\Users\Landon Abney\AppData\Local\atom\app-1.6.0-beta7\resources\app.asar\src\pane.js:687
    
    Error: Pane has been destroyed
        at Pane.module.exports.Pane.activate (C:\Users\Landon Abney\AppData\Local\atom\app-1.6.0-beta7\resources\app.asar\src\pane.js:687:15)
        at atom-tabs.TabBarView.moveItemBetweenPanes (C:\Users\Landon Abney\AppData\Local\atom\app-1.6.0-beta7\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:669:23)
        at atom-tabs.TabBarView.onDrop (C:\Users\Landon Abney\AppData\Local\atom\app-1.6.0-beta7\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:537:23)
    

    Commands

         -2:55.1.0 project-find:show (atom-text-editor.editor.is-focused)
      2x -2:53.8.0 find-and-replace:focus-next (atom-text-editor.editor.mini.is-focused)
      6x -2:50.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
      2x -2:44.3.0 find-and-replace:focus-previous (atom-text-editor.editor.mini.is-focused)
         -2:34.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
         -0:11 tree-view:open-selected-entry-right (span.name.icon.icon-file-text)
    

    As this is a different stack trace, I can file a new issue if you would prefer.

  6. winstliu commented on Mar 4, 2016

    @winstliu
    Contributor

    In an attempt to keep all of these "Pane has been destroyed" issues separate from one another, I'm going to close this one.

    @Arcanemagus Please file a new bug.
    @ijanos @jccr feel free to subscribe to atom/atom#8652 for updates.
    @wwvuillemot Your issue might best be described by atom/atom#10903.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions