Hi!
When I try to get the delay information of a packet I receive inside my PacketListener.processPacket(packet) I get the following exception:
ClassCastException: org.jivesoftware.smack.packet.DefaultPacketExtension
The line that causes the exeption is this:
DelayInformation inf = (DelayInformation)packet.getExtension( “x”, “jabber:x:delay” );
I have compiled the smack source using Ant and the build.xml.
Can this be a problem related to the smack.providers file as mentioned in:
Any help is much welcome!
Best regards,
Kartou