Oracle Error ORA-54512: a vertex of an inner solid is outside corresponding outer solid

Oracle Error Message

ORA-54512: a vertex of an inner solid is outside corresponding outer solid

Reason for the Error

A solid geometry contained an inner solid with at least one vertex outside its corresponding outer solid.

Solution

Ensure that all vertices of inner solids are not outside their corresponding outer solid.