-
Notifications
You must be signed in to change notification settings - Fork 17.4k
Uncaught Error: Setting active pane that is not present in pane container #14716
Comments
Thanks for the report! Can you confirm if the error is consistently reproducible and if so, is it reproducible in safe mode ( |
Preamble: I'm new to development and whatnot. Trying to help and get help but let me know if I'm just adding noise or how to improve 🙏 😄 In case it helps, I re-encountered this error where the tree sidebar is missing only for this one particular project and even running in Oddly, all other projects seem to open fine with the tree sidebar intact. My atom settings Screenshot of error and link that brought me here below |
Alright so as an update, I got this sorted out on my end back to normal by doing the following
|
i meet it so |
Thanks for the info @epan ✌️ Seems like some of the saved state maybe related to that one project was causing the trouble, good to know that clearing the saved state fixed things up for you. If you still get the same error in safe mode @ron-wolf, clearing saved state is a good next step to try (make sure to save any unsaved work first). |
I run into the same issue and @epan's solution works, thanks. |
Having this same issue. Closed the editor in the project I was having an issue. Reopened atom with --clear-window-state. Project fixed. Opened another project that was working fine. It had a couple tabs with unsaved content. All that project's tabs are gone too, including the unsaved ones. Posting because it isn't clear from the above solution that running Posted a question about how to fix it or at least prevent it here. If anyone knows plugins to get back untitled file contents after The launch stories underlying the issues are listed here |
Sorry for the data loss @a-laughlin, but I tried reproducing this issue but was unable to. |
sorry about that @a-laughlin and I've edited my original suggestion based on your experience |
I got the same error and i cant seem to find a pattern when it happens :(
Atom: 1.17.2 x64 Stack TraceUncaught Error: Setting active pane that is not present in pane container
Commands
Non-Core Packages
|
epan's quick instructions fixed the bug, thanks! |
@AHL96 - you mentioned you can't find a pattern for when it happens so just to clarify, is the error not reproducible for you? Or do the steps you shared always recreate the error? |
@rsese reproduct steps like this: my config like this: "*": |
sorry this is the right step |
Sorry for the confusion. When the error occurs, those steps are usually what i did. But idk if those steps are what is causing it to happen because it doesn't happen every time i do those steps, So it seems |
Using Project Manager package and Shift+Enter-ing into a package (open in same window) also makes this bug happen. Fixed after a restart of Atom. |
Same problem, same cause here -- Clearing the window state didn't work for me, but what finally did was removing the contents of the /storage directory in my user's Atom folder. I lost some styling changes I'd made, but easy enough to recover. At least I can actually use Atom again. |
Thanks for confirming @AHL96 - if you do come across specific steps to reproduce let us know. @netmou - thanks for sharing specific steps. Can you confirm if you can reproduce in safe mode ( |
I had a project open from the other day I was working in, and then wanted to reference another project from the past so I opened a new window and got this error - thought nothing of it. Restarted my computer and tried booting up my working project and I am getting the same error. I tried clearing window state in the past and it worked, but nothing this time. EDIT: Ran an update on Atom and all is resolved. That's my only advice to other having this issue right now. |
Fresh install, (deleted ~.atom folder) on OSX, working in a few files, did a global search and replace in a project folder (for '#!' ajax url functions if that matters), and closed atom with the search box still open. Upon re-opening, tree-view is broken. I can toggle it but not put the same project folder in it, it remains blank. I can put a different folder in it and have that different folder show up. |
Thanks @RNCTX - to confirm, what version of Atom are you running and where does the error show up in your steps? Also, is the error reproducible in safe mode ( |
@rsese 1.18.0 on OSX Sierra. The error is strange, after I posted that I was able to get the original folder to re-appear in the file tree by deleting it from the 'recents' history. My steps were...
Upon re-opening, I could open a different project folder in the file tree, but opening the same one in the file tree resulted in a blank file tree and the error that traces back to this bug report. After clearing the offending project folder from the 'recents' I was able to open it again and everything seems normal. So I would suspect this is somehow related to the recent projects list and/or the multi-file search/replace functionality. Unless OSX's default install runs --safe by default I was not running safe. |
The same for me, but tracing refers line 257 instead of 253 on Win8.1 x64: Atom: 1.19.1 x64 Stack TraceUncaught Error: Setting active pane that is not present in pane container
Commands
|
I can repro this issue by doing the following: Repro steps:
|
Thanks @ungb and thanks again everyone for the reports - added your steps to the issue body Bryant 🙇 |
Another way to reproduce it:
Atom: 1.19.3 |
How I came to this error. Restart Atom after package update. Project pane is empty. |
Yes, I encounter the issue under the same circumstances as gbittman. |
This occurred to me when I opened two atom windows, clicked a file in tree view on one window, and dragged it's tab on to the second window. |
Same to me. |
I got the same error on Windows 7 in version 1.21.1 x64. I managed to get the project back into view by starting Atom in Safe mode in the project folder (from cmd, run atom --safe), then closed it, then opened it normally. The error did not appear the second time and I could not make it occur again. |
Atom: 1.22.1 ia32 Stack TraceUncaught Error: Setting active pane that is not present in pane container
Commands
Non-Core Packages
|
I was having the same problem as @epan. Thank you! |
Just ran into this issue as well http://www.flowpress.com/screenshots/screenshot_2017-12-18_at_11.08.21AM.png |
[Enter steps to reproduce:]
Atom: 1.23.3 x64 Stack TraceUncaught Error: Setting active pane that is not present in pane container
Commands
Non-Core Packages
|
This change fixes an issue that appears when the user removes the last project from the workspace and then re-adds it. At this time an error is thrown from within ItemRegistry because the PaneContainer that holds the TreeView in the left-most dock does not clear out its existing ItemRegistry before deserializing the old TreeView state. The fix is to create a new ItemRegistry when a PaneContainer is deserialized so that the previous Pane's items are not retained.
Fix #14716: Error when deserializing TreeView for project
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks! |
[Enter steps to reproduce:]
@ungb's repro steps from below:
Close pane
in the tree-view, Notice nothing happenstree view
.Atom: 1.18.0-beta2 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Setting active pane that is not present in pane container
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: