} catch (final NoSuchMethodError nsme) {
LOG.error(nsme.getMessage(), nsme);
return null;
} finally {
if(collection != null)
{collection.releaseDocument(doc, Lock.READ_LOCK);}
if(collection != null)
{collection.release(Lock.READ_LOCK);}
factory.getBrokerPool().release(broker);
}
}