Last activity on unsupported clients is handled more gracefully.

Description

Right now, if you query a non-jabber client for last activity, we get a class cast exception. This should be handled more gracefully.

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: org.jivesoftware.smack.PacketReader$4
at org.jivesoftware.smackx.packet.LastActivity.getLastActivity(LastActivity.java:145)
at org.jivesoftware.spark.ui.ContactList$15.actionPerformed(ContactList.java:1377)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

Environment

None

Activity

Show:
wroot
April 9, 2007, 5:03 PM

some how i dont see "Last activity" entry in context menu anymore since 2.5.0 and maybe 2.5.0 Beta 4

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Major

Assignee

Derek DeMoro

Reporter

Derek DeMoro