You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atom Version: 1.0.2 System: Mac OS X 10.10.3 Thrown From: atom-pair package, v1.1.6
Stack Trace
Uncaught TypeError: Cannot read property 'getGrammar' of null
At /Users/addisons/.atom/packages/atom-pair/lib/modules/grammar_sync.coffee:6
TypeError: Cannot read property 'getGrammar' of null
at Object.module.exports.GrammarSync.sendGrammar (/Users/addisons/.atom/packages/atom-pair/lib/modules/grammar_sync.coffee:6:22)
at /Users/addisons/.atom/packages/atom-pair/lib/atom_pair.coffee:174:8
at PresenceChannel.prototype.emit (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
at PresenceChannel.prototype.handleEvent (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:3822:8)
at /Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:74:9
at ConnectionManager.prototype.emit (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
at message (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:3420:6)
at Connection.prototype.emit (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
at listeners.message (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:3048:8)
at TransportConnection.prototype.emit (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:855:17)
at TransportConnection.prototype.onMessage (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:2210:6)
at WebSocket.self.socket.onmessage (/Users/addisons/.atom/packages/atom-pair/lib/pusher/pusher.js:2232:6)
Ah gee - it looks like there isn't an active editor. Were you on a non-editor page, e.g. the config/packages page when this occurred? I think the package tries to ensure an active editor, but I might have missed a case
There's a high chance I was in a non-editor page but I remember being just in an untitled editor when I was testing with a friend. The text would duplicate from his to my editor like 5x. so 'Hello' would become 'HHHHHeeeeelllllooooo'
I'll try to recreate it again later if you want more info. Probably a freak edge case.
[Enter steps to reproduce below:]
Atom Version: 1.0.2
System: Mac OS X 10.10.3
Thrown From: atom-pair package, v1.1.6
Stack Trace
Uncaught TypeError: Cannot read property 'getGrammar' of null
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: