sQu1rr / nerd-treeview

Vim-like NERD Tree behaviour for Atom.io Tree View
https://atom.io/packages/nerd-treeview
MIT License
19 stars 5 forks source link

Uncaught TypeError: Cannot read property 'getPath' of undefined #4

Closed ansham22 closed 8 years ago

ansham22 commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.3.1 System: "Fedora release Thrown From: nerd-treeview package, v0.3.1

Stack Trace

Uncaught TypeError: Cannot read property 'getPath' of undefined

At /home/ankush/.atom/packages/nerd-treeview/lib/nerd-treeview.coffee:358

TypeError: Cannot read property 'getPath' of undefined
    at Object.module.exports.changeRoot (/home/ankush/.atom/packages/nerd-treeview/lib/nerd-treeview.coffee:358:32)
    at HTMLOListElement.atom.commands.add.nerd-treeview:change-root (/home/ankush/.atom/packages/nerd-treeview/lib/nerd-treeview.coffee:65:46)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Commands

 41x -0:29.8.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 15x -0:23.8.0 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 22x -0:22.6.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  6x -0:21.1.0 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 19x -0:20.2.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:19 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 35x -0:18.4.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 57x -0:16.7.0 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 14x -0:13.8.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  5x -0:10.6.0 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:09.1.0 nerd-treeview:change-root (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:08.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:07.0 nerd-treeview:open (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:05.2.0 nerd-treeview:jump-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -0:04.7.0 nerd-treeview:jump-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  5x -0:03.7.0 nerd-treeview:change-root (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {}
}

Installed Packages

# User
nerd-treeview, v0.3.1

# Dev
No dev packages