Asutosh11 / asmack

Automatically exported from code.google.com/p/asmack
Other
0 stars 0 forks source link

MultiUserChat: getting Collection<Affiliate> produces error in getMembers / getModerators etc... #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
any calls to getModerators(), getMembers(), etc in MultiUserChat fail with 
ClassCastException:

07-10 13:38:56.248: ERROR/AndroidRuntime(13003): FATAL EXCEPTION: main
        java.lang.ClassCastException: org.jivesoftware.smack.util.PacketParserUtils$2
        at org.jivesoftware.smackx.muc.MultiUserChat.getOccupants(MultiUserChat.java:1797)
        at org.jivesoftware.smackx.muc.MultiUserChat.getModerators(MultiUserChat.java:1761)
        at org.apache.android.xmpp.XMPPClient$1.onClick(XMPPClient.java:71)
        at android.view.View.performClick(View.java:2532)

What version of aSmack / Android / Device do you use?
05-07-2010 release / 2.3 Verizon stock / HTC Thunderbolt

What server do you use? Is there a public server to reproduce the problem?
Openfire

Original issue reported on code.google.com by moonligh...@gmail.com on 10 Jul 2012 at 6:41