Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

hello, my question: RoomInfo info = MultiUserChat.getRoomInfo(xmppConnection, entry.getJid()); then cast this exception!

$
0
0

code:

RoomInfo info = MultiUserChat.getRoomInfo(xmppConnection, entry.getJid());

 

then cast exception!

 

detail exception:

java.lang.RuntimeException: java.lang.ClassCastException: org.jivesoftware.smack.packet.DefaultPacketExtension

....

E/AndroidRuntime( 1847): Caused by: java.lang.ClassCastException: org.jivesoftware.smack.packet.DefaultPacketExtension

E/AndroidRuntime( 1847):           at org.jivesoftware.smackx.Form.getFormFrom(Form.java:69)

E/AndroidRuntime( 1847):           at org.jivesoftware.smackx.muc.RoomInfo.<init>(RoomInfo.java:90)

E/AndroidRuntime( 1847):           at org.jivesoftware.smackx.muc.MultiUserChat.getRoomInfo(MultiUserChat.java:238)


Viewing all articles
Browse latest Browse all 10742

Trending Articles