tree-view-open-files icon indicating copy to clipboard operation
tree-view-open-files copied to clipboard

Uncaught TypeError: Cannot read property 'is' of null

Open despairblue opened this issue 11 years ago • 1 comments

Uncaught TypeError: Cannot read property 'is' of null

Atom Version: 0.156.0 System: linux 3.14.26-1-lts Thrown From: tree-view-open-files package, v0.1.9

Steps To Reproduce

  1. open an atom project with the tree view hidden
  2. press `ctrl+' on linux to open the tree view

btw: pressing ctrl+0 opens the tree view w/o error and after that ctr+\ works as well

Stack Trace

At /home/despairblue/.atom/packages/tree-view-open-files/lib/tree-view-open-files.coffee:17

TypeError: Cannot read property 'is' of null
  at atom-workspace.<anonymous> (/home/despairblue/.atom/packages/tree-view-open-files/lib/tree-view-open-files.coffee:17:25)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:243:29)
  at /usr/share/atom/resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app/src/window-event-handler.js:167:20)

/cc @atom/core

despairblue avatar Dec 11 '14 15:12 despairblue

@Try this, fixed for atom 1.18.0 https://github.com/sergiu-gordienco/tree-view-open-files

on atom is tree-view-open-files-updated

apm install tree-view-open-files-updated

https://atom.io/packages/tree-view-open-files-updated

sergiu-gordienco avatar Aug 01 '17 14:08 sergiu-gordienco