lukehoban / atom-ide-flow

Atom IDE support for Flow
MIT License
87 stars 17 forks source link

Uncaught TypeError: Cannot read property 'length' of null #20

Closed andersekdahl closed 9 years ago

andersekdahl commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.190.0 System: linux 3.11.0-26-generic Thrown From: ide-flow package, v0.2.0

Stack Trace

Uncaught TypeError: Cannot read property 'length' of null

At /usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/filter.js:19

TypeError: Cannot read property 'length' of null
  at module.exports (/usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/filter.js:19:38)
  at Object.module.exports.filter (/usr/share/atom/resources/app/node_modules/fuzzaldrin/lib/fuzzaldrin.js:21:14)
  at Object.module.exports.requestHandler (/home/CORPUSERS/23060982/.atom/packages/ide-flow/lib/flow-autocomplete-provider.coffee:22:34)
  at /home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:151:45
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:134:15)
  at AutocompleteManager.getSuggestionsFromProviders (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:128:6)
  at /home/CORPUSERS/23060982/.atom/packages/autocomplete-plus/lib/autocomplete-manager.coffee:1:1

Commands

     -0:36.7 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:36.1 core:move-down (atom-text-editor.editor.is-focused)
     -0:35.7 core:backspace (atom-text-editor.editor.is-focused)
     -0:30.1 autocomplete-plus:select-previous (atom-text-editor.editor.is-focused)
     -0:28.8 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
  3x -0:28.5 core:delete (atom-text-editor.editor.is-focused)
     -0:27.7 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:27.4 core:move-down (atom-text-editor.editor.is-focused)
     -0:27.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:18.1 core:select-up (atom-text-editor.editor.is-focused)
  2x -0:17.5 core:delete (atom-text-editor.editor.is-focused)
     -0:14.3 core:save (atom-text-editor.editor.is-focused)
     -0:04.7 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
  2x -0:04.5 editor:newline (atom-text-editor.editor.is-focused)
  2x -0:04.2 core:move-up (atom-text-editor.editor.is-focused)
  3x -0:02.7 core:move-left (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "project-ring"
    ]
  },
  "ide-flow": {}
}

Installed Packages

# User
autocomplete-paths, v1.0.2
autocomplete-plus, v2.9.0
autocomplete-snippets, v1.2.0
editorconfig, v0.3.3
file-types, v0.3.0
highlight-selected, v0.9.1
ide-flow, v0.2.0
jsdoc, v0.9.0
linter, v0.12.0
linter-eslint, v0.5.1
tab-history, v0.4.0
whitespace, v0.29.0

# Dev
No dev packages