Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-602

Last activity on unsupported clients is handled more gracefully.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0 Beta 4
    • Fix Version/s: 2.5.0
    • Component/s: General
    • Labels:
      None

      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)

        Attachments

          Activity

            People

            Assignee:
            derek Derek DeMoro
            Reporter:
            derek Derek DeMoro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: