wende / autocomplete-elixir

Intelligent Elixir autocompletion provider for Atom autocomplete-plus
MIT License
42 stars 11 forks source link

Uncaught TypeError: Cannot read property 'length' of undefined #181

Closed williamkhshea closed 7 years ago

williamkhshea commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.11.6 Thrown From: autocomplete-elixir package 1.5.15

Stack Trace

Uncaught TypeError: Cannot read property 'length' of undefined

At /Users/wills/.atom/packages/autocomplete-elixir/lib/alchemide/doendmatcher.coffee:17

TypeError: Cannot read property 'length' of undefined
  at Object.module.exports.handleMatch (/packages/autocomplete-elixir/lib/alchemide/doendmatcher.coffee:17:35)
  at /packages/autocomplete-elixir/lib/autocomplete-elixir-client.coffee:21:23
  at Function.module.exports.Emitter.simpleDispatch (<embedded>:64068:20)
  at Emitter.module.exports.Emitter.emit (<embedded>:64184:34)
  at TextEditor.module.exports.TextEditor.cursorMoved (<embedded>:4449:33)
  at Selection.module.exports.Selection.markerDidChange (<embedded>:36536:27)
  at <embedded>:35657:30
  at Function.module.exports.Emitter.simpleDispatch (<embedded>:129241:20)
  at Emitter.module.exports.Emitter.emit (<embedded>:129357:34)
  at DisplayMarker.module.exports.DisplayMarker.notifyObservers (<embedded>:215125:33)
  at <embedded>:214930:32
  at Function.module.exports.Emitter.simpleDispatch (<embedded>:129241:20)
  at Emitter.module.exports.Emitter.emit (<embedded>:129357:34)
  at Marker.module.exports.Marker.emitChangeEvent (<embedded>:131010:26)
  at Marker.module.exports.Marker.update (<embedded>:130951:18)
  at MarkerLayer.module.exports.MarkerLayer.restoreFromSnapshot (<embedded>:74718:24)
  at TextBuffer.module.exports.TextBuffer.restoreFromMarkerSnapshot (<embedded>:32587:85)
  at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (<embedded>:31977:20)
  at TextBuffer.module.exports.TextBuffer.transact (<embedded>:31929:20)
  at TextEditor.module.exports.TextEditor.transact (<embedded>:3934:32)
  at TextEditor.module.exports.TextEditor.moveCursors (<embedded>:4435:25)
  at TextEditor.module.exports.TextEditor.setCursorScreenPosition (<embedded>:4230:25)
  at TextEditorComponent.didMouseDownOnContent (<embedded>:7780:25)

Commands

  2x -1:22.8.0 nuclide-home:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling)
     -1:21 application:add-project-folder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -1:10.2.0 core:close (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.5 
autocomplete-elixir 1.5.15 
busy-signal 1.4.3 
flow-ide 1.8.1 
hyperclick 0.1.5 
iex 0.10.0 
intentions 1.1.5 
language-elixir 0.20.3 
language-graphql 0.9.0 
language-javascript-jsx 0.3.7 
language-nginx 0.8.0 
linter 2.2.0 
linter-elixirc 1.7.0 
linter-ui-default 1.6.8 
minimap 4.29.7 
nuclide 0.236.0