prior to derefencing DataObject::registry(), first check that the return value is not a nullptr
DataObject::registry()