Peekmo / atom-autocomplete-php

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

Uncaught TypeError: Cannot read property 'classes' of null #255

Open kadzik opened 8 years ago

kadzik commented 8 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.3 System: Microsoft Windows 7 Professional Thrown From: atom-autocomplete-php package, v0.18.7

Stack Trace

Uncaught TypeError: Cannot read property 'classes' of null

At /C:/Users/kadzik/.atom/packages/atom-symfony2/lib/providers/services/file-class-provider.coffee:21

TypeError: Cannot read property 'classes' of null
    at YamlClassProvider.module.exports.FileClassProvider.fetchSuggestions (file:///C:/Users/kadzik/.atom/packages/atom-symfony2/lib/providers/services/file-class-provider.coffee:14:34)
    at YamlClassProvider.module.exports.YamlClassProvider.getSuggestions (file:///C:/Users/kadzik/.atom/packages/atom-symfony2/lib/providers/services/yaml-class-provider.coffee:10:17)
    at D:\Lukasz\Programy\Atom\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:310:56
    at Array.forEach (native)
    at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (D:\Lukasz\Programy\Atom\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:289:17)
    at AutocompleteManager.getSuggestionsFromProviders (D:\Lukasz\Programy\Atom\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61)
    at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (D:\Lukasz\Programy\Atom\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:276:19)
    at D:\Lukasz\Programy\Atom\resources\app.asar\node_modules\autocomplete-plus\lib\autocomplete-manager.js:3:61

Commands

  4x -3:15.4.0 core:save (atom-text-editor.editor.is-focused)
     -1:44.6.0 core:copy (atom-text-editor.editor.is-focused)
  2x -1:43.4.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -1:42.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:41.8.0 core:paste (atom-text-editor.editor.is-focused)
  4x -1:40.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:36.2.0 core:save (atom-text-editor.editor.is-focused)
  5x -1:17.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -1:04.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:57.9.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:53.2.0 core:save (atom-text-editor.editor.is-focused)
  3x -0:49.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:47.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:35.2.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -0:33.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:14.7.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "git-control",
      "atom-autocomplete-php"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.7
atom-symfony2, v0.2.1
autoclose-html, v0.23.0
autocomplete-json, v1.9.1
autocomplete-php, v0.3.7
autocomplete-project-paths, v2.2.0
color-picker, v2.1.1
emmet, v2.4.3
emmet-snippets-compatibility, v1.0.6
gitlab, v0.1.3-7
highlight-line, v0.11.1
highlight-selected, v0.11.2
hyperclick-php, v0.2.1
keyboard-localization, v1.4.18
linter, v1.11.4
linter-csslint, v1.3.2
linter-htmlhint, v1.1.4
linter-twig, v0.1.1
minimap, v4.23.2
minimap-highlight-selected, v4.4.0
minimap-pigments, v0.2.0
php-integrator-linter, v0.2.2
pigments, v0.26.0
run-in-browser, v0.1.3
symfony-snippets, v0.3.0
sync-settings, v0.7.2

# Dev
No dev packages