JustParsa / atom-ember-components

A convenient atom package for Ember developers
https://atom.io/packages/atom-ember-components
MIT License
4 stars 0 forks source link

Uncaught TypeError: Cannot read property 'match' of undefined #3

Open noslouch opened 7 years ago

noslouch commented 7 years ago

I had files open from a project and clicked "Remove Project Folder" from the context menu in the tree view while files were open from that project.

Atom: 1.20.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: atom-ember-components package 0.3.2

Stack Trace

Uncaught TypeError: Cannot read property 'match' of undefined

At /Users/bwhitton/.atom/packages/atom-ember-components/lib/atom-ember-components.js:72

TypeError: Cannot read property 'match' of undefined
    at Object.displayRenderingComponentsFooter (/packages/atom-ember-components/lib/atom-ember-components.js:72:38)
    at /packages/atom-ember-components/lib/atom-ember-components.js:29:14
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Workspace.didChangeActivePaneItemOnPaneContainer (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:492:28)
    at WorkspaceCenter.paneContainer.onDidChangeActivePaneItem (/Applications/Atom.app/Contents/Resources/app/src/workspace-center.js:17:20)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at PaneContainer.didChangeActiveItemOnPane (/Applications/Atom.app/Contents/Resources/app/src/pane-container.js:284:26)
    at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:339:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app/src/pane.js:475:25)
    at Pane.module.exports.Pane.activateNextItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:430:27)
    at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:628:22)
    at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:706:22)
    at TabBarView.module.exports.TabBarView.closeTab (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:341:32)
    at HTMLDivElement.TabView.didClickCloseIcon (/Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:229:25)

Commands

  2x -0:14.9.0 tree-view:remove-project-folder (div.header.list-item.project-root-header)
  7x -0:10.8.0 core:close (div.tool-panel.tree-view)

Non-Core Packages

api-blueprint-preview 0.7.0 
atom-copy-on-select 1.4.0 
atom-elixir 0.2.3 
atom-ember-components 0.3.2 
atom-typescript 11.0.9 
autoclose-html 0.23.0 
busy-signal 1.4.3 
emmet-simplified 2.5.0 
git-plus 7.9.3 
intentions 1.1.5 
language-elixir 0.20.2 
linter 2.2.0 
linter-elixirc 1.7.0 
linter-eslint 8.2.1 
linter-flake8 2.2.1 
linter-jshint 3.1.5 
linter-ui-default 1.6.10 
MagicPython 1.0.12 
seti-syntax 1.1.3 
seti-ui 1.9.0 
sync-settings 0.8.3 
termination 0.6.0 
vim-mode-plus 1.4.0 
vim-mode-plus-ex-mode 0.9.1