litaio/lita-hipchat

nil error in roster_update

Closed this issue · 0 comments

/Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/lita-hipchat-1.2.3/lib/lita/adapters/hipchat/callback.rb:38:in `block in roster_update': undefined method `attributes' for nil:NilClass (NoMethodError)
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/callbacks.rb:99:in `call'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/callbacks.rb:99:in `block in process'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/callbacks.rb:98:in `each'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/callbacks.rb:98:in `process'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/roster/helper/roster.rb:182:in `block in handle_iq_query_roster'
        from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/2.1.0/rexml/element.rb:902:in `block in each'
        from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/2.1.0/rexml/xpath.rb:67:in `each'
        from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/2.1.0/rexml/xpath.rb:67:in `each'
        from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/2.1.0/rexml/element.rb:902:in `each'
        from /usr/local/var/rbenv/versions/2.1.0/lib/ruby/2.1.0/rexml/element.rb:393:in `each_element'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/roster/helper/roster.rb:169:in `handle_iq_query_roster'
        from /Users/redacted/Code/redacted/code/vendor/bundle/ruby/2.1.0/gems/xmpp4r-0.5.5/lib/xmpp4r/roster/helper/roster.rb:55:in `block (2 levels) in initialize'