Console pops up with NotFoundError when escaping from autocompletion


#1

This only happens if I bind autocompletion to the escape key, like so:

'.editor':
  'escape': 'autocomplete:attach'

When I autocomplete something with escape, then hit escape again, it blows up with Uncaught NotFoundError: An attempt was made to reference a Node in a context where it does not exist in /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5825.


#2

This will be fixed in the next release, see here for more details https://github.com/atom/autocomplete/issues/9


#3

Thanks. I was looking for Github issues, but since Atom doesn’t show which package generated the exception, it’s next to impossible to know where to go. I strongly suggest that Atom wrap all hooks with exception handlers that also log the offending package name.