Message Oracle ORA-54528 - inner composite surfaces or surfaces with inner ring(s) expected

ERRORinner composite surfaces or surfaces with inner ring(s) expected
CAUSEAn INNER_OUTER parameter to element extractor was attempted on a surface that was not simple or composite.
ACTIONEnsure that the etype of the geometry for the INNER_OUTER parameter to element extractor is ETYPE_SURFACE or ETYPE_COMPOSITESURFACE.