It looks like you might not be connected to the server at the point where
the error is raised.

+=
Erik Elmore




On Mon, Mar 15, 2010 at 5:59 PM, StuFF mc <[email protected]> wrote:

> Hi,
>
> I've followed the example at
> http://home.gna.org/xmpp4r/rdoc/classes/Jabber/MUC/SimpleMUCClient.html
>
> but I've got the following error:
>
> ~/.gem/ruby/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:346:in
> `send_data': undefined method `<<' for nil:NilClass (NoMethodError)
>        from
> /Users/stuffmc/.gem/ruby/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:344:in
> `synchronize'
>        from
> /Users/stuffmc/.gem/ruby/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:344:in
> `send_data'
>        from
> /Users/stuffmc/.gem/ruby/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:375:in
> `send'
>        from
> /Users/stuffmc/.gem/ruby/1.8/gems/xmpp4r-0.5/lib/xmpp4r/muc/helper/mucclient.rb:91:in
> `join'
>        from xmppd.rb:68:in `login'
>        from xmppd.rb:42:in `initialize'
>        from xmppd.rb:232:in `new'
>        from xmppd.rb:232
>
>
> I'm really following the sample code aside for my room/server/nick
> having names. I use the form "[email protected]/nick". What may I be
> doing wrong?
>
> _______________________________________________
> Xmpp4r-devel mailing list
> [email protected]
> https://mail.gna.org/listinfo/xmpp4r-devel
>
_______________________________________________
Xmpp4r-devel mailing list
[email protected]
https://mail.gna.org/listinfo/xmpp4r-devel

Reply via email to