Peekmo / atom-autocomplete-php

Autocomplete for PHP in atom editor
MIT License
136 stars 34 forks source link

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

Open m1guelpf opened 7 years ago

m1guelpf commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0 x64 Electron: 1.3.15 OS: Ubuntu 16.10 Thrown From: atom-autocomplete-php package 0.25.6

Stack Trace

Uncaught TypeError: Cannot read property 'getPath' of undefined

At /home/m1guelpiedrafita/.atom/packages/atom-autocomplete-php/lib/services/namespace.coffee:37

TypeError: Cannot read property 'getPath' of undefined
    at Object.createNamespace (/packages/atom-autocomplete-php/lib/services/namespace.coffee:37:22)
    at /packages/atom-autocomplete-php/lib/config.coffee:105:23)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at /usr/share/atom/resources/app/src/command-registry.js:3:65
    at Object.didConfirmSelection (/usr/share/atom/resources/app/node_modules/command-palette/lib/command-palette-view.js:106:35)
    at SelectListView.confirmSelection (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:313:26)
    at HTMLDivElement.core:confirm (/usr/share/atom/resources/app/node_modules/atom-select-list/src/select-list-view.js:81:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at /usr/share/atom/resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app/src/window-event-handler.js:3:65)

Commands

     -1:16.7.0 command-palette:toggle (div.panels-item)
     -1:14.5.0 php-integrator-base:configuration (div.panels-item)
     -1:07.9.0 core:confirm (input.hidden-input)
     -0:41.3.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -0:38.7.0 php-integrator-base:configuration (ul.list-inline.tab-bar.inset-panel)
     -0:36.2.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -0:32 php-integrator-base:index-project (ul.list-inline.tab-bar.inset-panel)
     -0:29.1.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -0:26.3.0 core:move-right (input.hidden-input)
 11x -0:25.8.0 core:move-down (input.hidden-input)
     -0:19.8.0 core:move-up (input.hidden-input)
     -0:19.2.0 core:confirm (input.hidden-input)
     -0:19.2.0 atom-autocomplete-php:namespace (ul.list-inline.tab-bar.inset-panel)
     -0:13.2.0 command-palette:toggle (div.tool-panel.tree-view)
     -0:09.2.0 core:confirm (input.hidden-input)
     -0:09.2.0 atom-autocomplete-php:namespace (div.tool-panel.tree-view)

Non-Core Packages

aligner-php 1.1.1 
artisan 0.3.0 
atom-autocomplete-php 0.25.6 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
atom-pair 2.0.10 
base64 0.3.0 
blade-snippets 0.2.0 
blade-spacer 0.4.2 
busy-signal 1.4.3 
hyperclick 0.1.1 
intentions 1.1.2 
language-blade 0.32.0 
language-vue 0.23.0 
language-vue-component 0.5.0 
laravel 0.7.1 
laravel-5-snippets 0.8.0 
laravel-eloquent-snippets 2.0.0 
linter 2.2.0 
linter-php 1.3.2 
linter-ui-default 1.6.2 
merge-conflicts 1.4.5 
php-cs-fixer 4.1.0 
php-hyperclick 1.2.1 
php-integrator-base 2.1.12 
php-integrator-call-tips 1.2.1 
php-integrator-navigation 1.1.2 
php-integrator-refactoring 1.3.1 
project-manager 3.3.5 
vue2-autocomplete 0.1.0-alpha.4