#704 : Fix NPE when checking readonly state for FieldMetadata instances