Oracle Message OCI-22166 - collection is empty

ERRORcollection is empty
CAUSEGiven collection is empty.
ACTIONTest if collection is empty prior to invoking this function.