atom / github

:octocat: Git and GitHub integration for Atom
https://github.atom.io
MIT License
1.12k stars 393 forks source link

Uncaught Error: Could not find pane for a non-destroyed DockItem #1200

Open jaller94 opened 7 years ago

jaller94 commented 7 years ago

See also atom/atom#15816.

[Enter steps to reproduce:]

  1. Have Atom 1.21.0 (updated today)
  2. Happens to me repeatedly on opening the Git pane.

Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: Atom Core

Stack Trace

Uncaught Error: Could not find pane for a non-destroyed DockItem

At /Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/views/dock-item.js:142

Error: Could not find pane for a non-destroyed DockItem
    at setTimeout (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/views/dock-item.js:142:21)

Commands

     -9:37.2.0 core:copy (input.hidden-input)
     -9:28.5.0 core:paste (input.hidden-input)
     -9:23.8.0 core:save (input.hidden-input)
  5x -9:21.7.0 core:move-left (input.hidden-input)
     -9:20.6.0 core:move-right (input.hidden-input)
     -9:19.4.0 core:move-left (input.hidden-input)
  2x -9:19.1.0 core:backspace (input.hidden-input)
  3x -9:18.3.0 core:save (input.hidden-input)
     -7:43.3.0 find-and-replace:show (input.hidden-input)
  5x -7:41.3.0 core:confirm (input.hidden-input)
     -6:05.9.0 find-and-replace:show (input.hidden-input)
     -6:04.7.0 project-find:show (input.hidden-input)
     -5:27.2.0 tree-view:remove (span.name.icon.icon-file-text)
  4x -5:19.4.0 core:backspace (input.hidden-input)
     -5:17.7.0 core:save (input.hidden-input)
     -2:35.3.0 github:toggle-git-tab (input.hidden-input)

Non-Core Packages

busy-signal 1.4.3 
coffee-compile 0.27.0 
intentions 1.1.5 
language-babel 2.75.1 
linter 2.2.0 
linter-eslint 8.3.2 
linter-stylelint 4.0.2 
linter-ui-default 1.6.10 
minimap-plus 4.29.2 
multi-wrap-guide 1.0.0 
john-codeworx commented 6 years ago

Happening to me also, on opening of git pane.

rsese commented 6 years ago

Can you try clearing saved state and let us know if still get the error by just opening the Git pane? Make sure to save/backup and work since you'll lose any unsaved data:

http://flight-manual.atom.io/hacking-atom/sections/debugging/#clearing-saved-state

mturquette commented 6 years ago

Happens to me as well.

rsese commented 6 years ago

Are you also seeing this error when you open the Git pane @mturquette? If so, are you seeing the error with any project or just a particular project?

mturquette commented 6 years ago

In fact I saw this error the first time I ever opened the git pane after installing the plugin. I haven't seen it since, despite trying a few different way to trigger the error. The project was the Linux kernel sources.

On Mon, Dec 4, 2017 at 6:30 PM, Robert Sese notifications@github.com wrote:

Are you also seeing this error when you open the Git pane @mturquette https://github.com/mturquette? If so, are you seeing the error with any project or just a particular project?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/atom/github/issues/1200#issuecomment-349175314, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAy22Nqo2kQgWB-WyjWWEsexzAeTB_zks5s9Kq6gaJpZM4PuYqk .

-- Michael Turquette CEO BayLibre - At the Heart of Embedded Linux http://baylibre.com/