Oracle Solution for Error ora-54551

Solution for Oracle Error ORA-54551

ORA-54551: grdHeight and/or Height array sizes incorrect

What triggered the Error:

The sizes of grdHeight and Height arrays were not equal to half the size of input 2-D polygon's ordinates array. As a result, each point in the 2-D polygon could not be extruded from the grdHeight entry to the Height entry.

What should we do to fix it:

Ensure that the sizes of the grdHeight and Height arrays are half that of input 2-D polygon ordinates array.