throw exception when no fields are present on the list