powered by Jive Software

Proble with GroupChat

Hi, i´m trying to to create a gruopchat but I can´t: my code:

GroupChat grupoChat = connection.createGroupChat("123@");


appear this error:

No response from server.:

at org.jivesoftware.smack.GroupChat.join(GroupChat.java:162)

at org.jivesoftware.smack.GroupChat.join(GroupChat.java:123)

Anyone can help me¿? the server are running in my desktop…



Just from a quick look it appears you are creating a GroupChat room with the name 123@ and then attempting to join a room with the name “andres”.

This isnt going to work.

You’'ll need to join the room with the same name you used to create it.

Also I wouldnt use the GroupChat class, far better to use the new MultiUserChat class