Catch dereference errors