As of ORA 19 there is a changed behavior in the function SDO_UTIL.GETVERTICES:
But the default result is not as in the previous versions and not as with DEFAULT value NULL:
--should return same as NULL (DEFAULT)
--not ok, returns only coordinates
SELECT *
FROM sdo_util.getvertices(sdo_geometry(2001, NULL, NULL, sdo_elem_info_array(1,1,1,3,1,0), sdo_ordinate_array(10,10,0.5,0.866)));

--NULL as parameter include_oriented_pt
--returns both the coordinates and the orientation vector
--ok
SELECT *
FROM sdo_util.getvertices(sdo_geometry(2001, NULL, NULL, sdo_elem_info_array(1,1,1,3,1,0), sdo_ordinate_array(10,10,0.5,0.866)),NULL);

--returns only the coordinates of the vertices
--ok
SELECT *
FROM sdo_util.getvertices(sdo_geometry(2001, NULL, NULL, sdo_elem_info_array(1,1,1,3,1,0), sdo_ordinate_array(10,10,0.5,0.866)),0);
<img src="https://objectstorage.us-phoenix-1.oraclecloud.com/p/BqK85Rn1zA5MP0vYiqbAdPgs7Z6OmMxw8SD3WCFVm5kY8uReidZ1KPIKkgJ1hCkG/n/axciphqpnohg/b/forums-legacy/o/uploads/TC6ZCF6H01HJ/grafik.png" alt="grafik.png">--returns both the coordinates and the orientation vector
--ok
SELECT *
FROM sdo_util.getvertices(sdo_geometry(2001, NULL, NULL, sdo_elem_info_array(1,1,1,3,1,0), sdo_ordinate_array(10,10,0.5,0.866)),1);
So we have to reprogram the "legacy"-code