Sorry guys forgot to mention I had fixed the problem. As you said, I
was trying to connect to the MUC without prior being connected
"normally". A bit stupid but the way MUC is handled in XMPP is somtime
a bit weird (like for example having the nick be a "resource" although
it's not a resource).

Anyways, XMPP4R rocks... I'm currently building a Drb speaking to my
rails app which communicates (via XMPP) to my iPhone app, and it's
pretty cool what you can achieve (in term of responsiveness, also in
Edge)  using this technique.


On Tue, Mar 16, 2010 at 11:25 AM, Erik Elmore <[email protected]> wrote:
> 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
>
>

_______________________________________________
Xmpp4r-devel mailing list
[email protected]
https://mail.gna.org/listinfo/xmpp4r-devel

Reply via email to