Add someone to the buddy list

Hi,

When I read the api doc, I found that for Roster.createEntry(user, name, groups[]):

“groups - the list of group names the entry will belong to, or null if the the roster entry.”

So, when I tried to add a user to my roster, it only worked, when the groups array wasn’'t null AND at least one group was inside the array.

Is it a bug inside SMACK 1.2.1 or could it be a server problem (Rhombus)?

Regards,

Dirk

Dirk,

Do you get an exception when you send null in the groups param? If so could you please paste the stack trace so we can take a look at it? If nothing happens then it would be helpful if you could send us the XML traffic between the server and Smack. You can use the debug window to get this info.

Regards,

– Gato