-
Notifications
You must be signed in to change notification settings - Fork 73
Uncaught TypeError: Cannot read property 'length' of null #29
Comments
@yongkangchen Can you reproduce this in safe mode? |
safe mode is normal. I guess this cause by autocomplete-plus, and I create the same issue. |
Thanks for confirming. I'm going to close this issue, but please reopen it in https://github.com/atom/atom if you notice it in safe mode. Also, I'm going to cc @nathansobo and @benogle on this -- that stack trace above is interesting, it doesn't seem to include anything related to autocomplete-plus, so I'm wondering if there indeed is something we could do to prevent these exceptions. |
Since we’re deprecating emissary, I manually implemented event pausing to keep the event-kit library simpler.
Reopening, see 94115e2#commitcomment-7727788 |
Exactly the same problem here on OS X 10.9.4 and Atom 0.125.0. |
@kami30k I temporary edit the file
|
This must be happening when something is inserting a marker within a buffer change event callback. Certainly a valid use case but it wasn't exercised by any of our code. This should be fixed on the next release, which we will expedite. Thanks for your patience. |
Uncaught TypeError: Cannot read property 'length' of null /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:100
mac os x: 10.9.4
atom: 0.125.0
Also, I try to debug and print the error stack:
This is how to reproduce the bug:
The text was updated successfully, but these errors were encountered: