Commit 4bbabbaf authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed parsing problem when NULL string was cached.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6361 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3882ca60
...@@ -321,7 +321,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager ...@@ -321,7 +321,7 @@ public class PresenceManagerImpl extends BasicModule implements PresenceManager
loadOfflinePresence(probee.getNode()); loadOfflinePresence(probee.getNode());
} }
presenceXML = offlinePresenceCache.get(probee.getNode()); presenceXML = offlinePresenceCache.get(probee.getNode());
if (presenceXML != null) { if (presenceXML != null && !NULL_STRING.equals(presenceXML)) {
try { try {
// Parse the element // Parse the element
Document element = DocumentHelper.parseText(presenceXML); Document element = DocumentHelper.parseText(presenceXML);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment