Skip to content
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 undefined #62

Closed
lefte opened this issue Aug 5, 2015 · 4 comments
Closed

Uncaught TypeError: Cannot read property 'getText' of undefined #62

lefte opened this issue Aug 5, 2015 · 4 comments

Comments

@lefte
Copy link

lefte commented Aug 5, 2015

[Enter steps to reproduce below:]

  1. ...the other dev waited quite a while to accept the invite, maybe it timed out?
  2. ...???
  3. Profit!

Atom Version: 1.0.4
System: Mac OS X 10.10.4
Thrown From: atom-pair package, v2.0.3

Stack Trace

Uncaught TypeError: Cannot read property 'getText' of undefined

At /Users/ehanson/.atom/packages/atom-pair/lib/modules/share_pane.coffee:164

TypeError: Cannot read property 'getText' of undefined
  at SharePane.module.exports.SharePane.shareFile (/Users/ehanson/.atom/packages/atom-pair/lib/modules/share_pane.coffee:164:26)
  at /Users/ehanson/.atom/packages/atom-pair/lib/atom_pair.coffee:175:7
  at PresenceChannel.prototype.emit (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
  at PresenceChannel.prototype.handleEvent (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:3713:6)
  at PresenceChannel.prototype.handleEvent (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:3831:51)
  at /Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:74:9
  at ConnectionManager.prototype.emit (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
  at message (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:3420:6)
  at Connection.prototype.emit (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
  at listeners.message (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:3048:8)
  at TransportConnection.prototype.emit (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
  at TransportConnection.prototype.onMessage (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:2210:6)
  at WebSocket.self.socket.onmessage (/Users/ehanson/.atom/packages/atom-pair/lib/pusher/pusher.js:2232:6)

Commands

Config

{
  "core": {},
  "atom-pair": {
    "pusher_app_key": "foo",
    "pusher_app_secret": "bar",
    "hipchat_room_name": "Hipchat (awyeah)",
    "hipchat_token": "nope"
  }
}

Installed Packages

# User
atom-pair, v2.0.3
auto-indent, v0.5.0
minimap, v4.12.2

# Dev
No dev packages
@lefte
Copy link
Author

lefte commented Aug 5, 2015

Possibly could also have been caused by "untitled" files open?

@jpatel531
Copy link
Contributor

Hmm I imagine it's related to #58 -- were there files open when your partner joined? I'm gonna tackle this tonight, and I think this might be a starting point

@lefte
Copy link
Author

lefte commented Aug 6, 2015

@jpatel531 yes, I had files open in tabs (including a couple of untitled/unsaved ones), as did the other side, so that might a good place to start looking. Thanks, great add-on, we foresee a LOT of useful scenarios already!

@jpatel531
Copy link
Contributor

Hey there - I've just published 2.0.5 - let me know how this addresses the problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants