-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: Cannot read property 'getText' of null #58
Comments
What was the setup when this issue occurred? This error can only mean the So a buffer must have been destroyed within a text editor. Though I'm not too sure how that could happen - especially without removing that sharepane from the pairing session. Did you happen to have a split window? This issue might take longer to diagnose |
I suspect this is related to #52 |
I didn't have a split view, no. I received this error twice, and I actually wasn't looking at Atom when it occurred. I was in Chrome and when I went back to Atom, the error notification was there. That same thing happened twice. Sorry for the lack of specific details. =\ |
Just ran into this as well. My buddy joined my session and he got about half of my open tabs synced to his Atom, only the last one synced had any content (note it wasn't the last tab, just the last one that synced over to his session), all tabs were titled "untitled" in buddy's Atom, all but the last-synced were empty buffers. I believe the error appeared on my end when buddy closed the empty buffers/tabs. Incidentally, I just happened to have the Pusher debug console open, because I was trying it out and was curious. So if there's some data I can try to pull from the debug that you think might be useful, let me know, I'll keep that tab open. |
Thanks for the information! This is super helpful - I'll try recreating it later on and push a fix as soon as I can |
Hi there, I've just published 2.0.5 which should address syncing already-open files. The question of why a buffer should a null isn't completely solved yet - but let me know how this addresses the issues :) |
Just tried it again and got this error as soon as I joined. (2.0.5)
|
[Enter steps to reproduce below:]
Atom Version: 1.0.3
System: Mac OS X 10.10.4
Thrown From: atom-pair package, v2.0.1
Stack Trace
Uncaught TypeError: Cannot read property 'getText' of null
Commands
Installed Packages
The text was updated successfully, but these errors were encountered: