1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 07:04:49 +02:00
Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/muc
Florian Schmaus 6a2bc0c02d Fix MUC invitationPacketListener ClassCastException
Make sure that the Packets are of type Message. To prevent:

E/AbstractXMPPConnection﹕ Exception in packet listener
    java.lang.ClassCastException: org.jivesoftware.smack.packet.Presence cannot be cast to org.jivesoftware.smack.packet.Message
            at org.jivesoftware.smackx.muc.MultiUserChatManager$2.processPacket(MultiUserChatM anager.java:124)
            at org.jivesoftware.smack.AbstractXMPPConnection.notifiyReceivedListeners(Abstract XMPPConnection.java:854)
            at org.jivesoftware.smack.AbstractXMPPConnection$ListenerNotification.run(Abstract XMPPConnection.java:876)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
            at java.util.concurrent.FutureTask.run(FutureTask.java:234)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201 (ScheduledThreadPoolExecutor.java:153)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:267)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
            at java.lang.Thread.run(Thread.java:856)
2014-10-21 10:38:01 +02:00
..
packet Fix NPE in MUCItem if role is null 2014-10-20 21:12:33 +02:00
provider Add 'PacketParserUtils.addPacketextension()' 2014-10-08 16:01:19 +02:00
Affiliate.java Introduce MUCRole and MUCAffiliation enums 2014-08-24 18:30:18 +02:00
DefaultParticipantStatusListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
DefaultUserStatusListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
DiscussionHistory.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
HostedRoom.java Add MultiUserChatManager 2014-10-13 22:32:34 +02:00
InvitationListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
InvitationRejectionListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
MUCAffiliation.java Introduce MUCRole and MUCAffiliation enums 2014-08-24 18:30:18 +02:00
MUCNotJoinedException.java Rework MultiUserChat 2014-10-13 11:10:30 +02:00
MUCRole.java Introduce MUCRole and MUCAffiliation enums 2014-08-24 18:30:18 +02:00
MultiUserChat.java MUC: Establish callbacks before sending the presence 2014-10-14 09:41:48 +02:00
MultiUserChatManager.java Fix MUC invitationPacketListener ClassCastException 2014-10-21 10:38:01 +02:00
Occupant.java Introduce MUCRole and MUCAffiliation enums 2014-08-24 18:30:18 +02:00
package.html Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
ParticipantStatusListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
RoomInfo.java Extend RoomInfo to contain more meta-data 2014-08-25 11:39:57 +02:00
SubjectUpdatedListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00
UserStatusListener.java Prefix subprojects with 'smack-' 2014-04-28 19:44:14 +02:00