Let's make sure that the field behind viewField.fieldMetadataId belongs to the same object as viewField's view.objectMetadataId