The metadata database appears to be in a corrupted state. A reference was found to a %{typename/} object with ID %{id/} but ...