Skip to content

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

@lefte

Description

@lefte

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions