AnsweredAssumed Answered

Smack-4.1.0-alpha4 Some bugs in MUC module

Question asked by TSon on Oct 20, 2014
Latest reply on Oct 21, 2014 by Flow

I am implementing a xmpp client on Android, here is some issue I've noticed in MUC module

1. org.jivesoftware.smackx.muc.packet.MUCItem.toXML()

It doesn't check when 'role' is null. So when I tried to add a user to owner list, my app crashed.

 

2. org/jivesoftware/smackx/muc/MultiUserChatManager.getMultiUserChat()

It doesn't check null for multiUserChats.get(jid), which causes a NPE.

 

Hope this get fixed ASAP.

Outcomes