Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-290

Deadlock while getting Roster before it's initialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: Core
    • Labels:
      None

      Description

      If XMPPConnection#getRoster is invoked after a login and the roster isn't received yet, smack will get stuck on waiting for roster initialization without success (it times out). Because the RosterPacketListener which handles the initialization depends also on the waiting XMPPConnection#getRoster method.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              niess Guenther Niess
              Reporter:
              niess Guenther Niess
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: