Fixed
Details
Assignee
Florian SchmausFlorian SchmausReporter
Florian SchmausFlorian SchmausLabels
Components
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Florian Schmaus
Florian SchmausReporter
Florian Schmaus
Florian SchmausLabels
Components
Fix versions
Affects versions
Priority
Created May 12, 2013 at 2:08 PM
Updated August 17, 2014 at 1:11 PM
Resolved May 12, 2013 at 2:53 PM
The
InvitationsMonitors
are stored in Map as WeakReference. ThegetInvitationsMonitor
method does not check ifget()
on the WeakReference returns null.The according code should be changed to
if (!monitors.containsKey(conn) || monitors.get(conn).get() == null)
Maybe it's also a good idea to change MultiUserChat.InvitationsMonitor.monitors to a Concurrent WeakHashMap.
Downstream bug report: https://code.google.com/p/asmack/issues/detail?id=82