oriolmirosa / open-files

Atom package to show the open files in the tree-view panel, mirroring the functionality in Sublime Text
https://atom.io/packages/open-files
MIT License
15 stars 10 forks source link

Uncaught Error: Adding a pane item with URI '~/ascend/fprops-incomp/models/johnpye/fprops/SConscr... #31

Open jdpipe opened 4 years ago

jdpipe commented 4 years ago

This error occurs intermittently when closing files using "ctrl-w" when the 'open-files' package installed. It happens often enough that it shouldn't be too hard to test. Could be some kind of race condition or something...? I've usually got ~20 files or so open when the error occurs, and it's an older laptop.

Atom: 1.43.0 x64 Electron: 4.2.7 OS: Ubuntu 18.04.4 Thrown From: open-files package 0.8.4

Stack Trace

Uncaught Error: Adding a pane item with URI '/home/john/ascend/fprops-incomp/models/johnpye/fprops/SConscript' that has already been destroyed

At /usr/share/atom/resources/app/static/<embedded>:11

Error: Adding a pane item with URI '/home/john/ascend/fprops-incomp/models/johnpye/fprops/SConscript' that has already been destroyed
    at Pane.addItem (/usr/share/atom/resources/app/static/<embedded>:11:458375)
    at Pane.activateItem (/usr/share/atom/resources/app/static/<embedded>:11:457887)
    at /packages/open-files/lib/open-files-pane-view.js:86:14)
    at HTMLUListElement.dispatch (/packages/open-files/node_modules/jquery/dist/jquery.js:5237:27)
    at HTMLUListElement.elemData.handle (/packages/open-files/node_modules/jquery/dist/jquery.js:5044:28)

Commands

     -1:28.7.0 editor:newline (input.hidden-input)
  4x -1:28.4.0 core:backspace (input.hidden-input)
     -1:25.7.0 editor:consolidate-selections (input.hidden-input)
     -1:25.7.0 core:cancel (input.hidden-input)
  2x -1:25.5.0 core:move-down (input.hidden-input)
  2x -1:25.2.0 core:move-left (input.hidden-input)
     -1:24.5.0 editor:select-to-beginning-of-word (input.hidden-input)
     -1:22.9.0 core:save (input.hidden-input)
     -1:22.5.0 core:move-down (input.hidden-input)
     -0:48 find-and-replace:show (div.tool-panel.tree-view)
     -0:45.4.0 core:backspace (input.hidden-input)
     -0:45.2.0 core:confirm (input.hidden-input)
     -0:44.7.0 editor:consolidate-selections (input.hidden-input)
     -0:44.7.0 core:cancel (input.hidden-input)
     -0:40.5.0 core:save (input.hidden-input)
  2x -0:09.6.0 core:close (div.tool-panel.tree-view)

Non-Core Packages

atom-cscope 1.1.0 
atom-gedit-syntax 1.0.2 
contrast-light-syntax 0.3.0 
contrast-syntax 0.8.1 
fancy-bracket-matcher 2.1.0 
language-modelica 0.5.1 
language-swig-wrapper 0.2.0 
open-files 0.8.4 
sync-settings 0.8.6 
zooce-syntax 1.0.2