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

Potential NPE in Roster.getPresencesInternal(BareJid)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4
    • Component/s: IM
    • Labels:
    • Expected Effort:
      Minimal

      Description

      Github PR: https://github.com/igniterealtime/Smack/pull/307

       

      FATAL EXCEPTION: Smack Cached Executor
      Process: de.fhg.ivi.senetz.mobile.android.mbk.debug, PID: 13365
      java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
      at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:944)
      at org.jivesoftware.smack.roster.Roster.getPresencesInternal(Roster.java:374)
      at org.jivesoftware.smack.roster.Roster.getOrCreatePresencesInternal(Roster.java:388)
      at org.jivesoftware.smack.roster.Roster.access$1100(Roster.java:94)
      at org.jivesoftware.smack.roster.Roster$PresencePacketListener$1.run(Roster.java:1519)
      at org.jivesoftware.smack.AsyncButOrdered$Handler.run(AsyncButOrdered.java:121)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
      at java.lang.Thread.run(Thread.java:764)

        Attachments

          Activity

            People

            Assignee:
            flow Florian Schmaus
            Reporter:
            flow Florian Schmaus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: