} else {
log.warn("Shared object persistence mismatch - current: {} incoming: {}", so.isPersistent(), persistent);
// reset the object so we can re-use it
message.reset();
// add the error event
message.addEvent(new SharedObjectEvent(ISharedObjectEvent.Type.CLIENT_STATUS, "error", SO_PERSISTENCE_MISMATCH));
conn.getChannel(3).write(message);
}
} else {
log.warn("Shared object lookup returned null for {} in {}", name, scope.getName());
// reset the object so we can re-use it
message.reset();
// add the error event
message.addEvent(new SharedObjectEvent(ISharedObjectEvent.Type.CLIENT_STATUS, "error", NC_CALL_FAILED));
conn.getChannel(3).write(message);
}
} else {
// The scope already has been deleted
log.debug("Shared object scope was not found");