Sdo_util.GetNumRings gives ORA-06531

(Doc ID 2412538.1)

Last updated on JUNE 18, 2018

Applies to:

Oracle Spatial and Graph - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.0.1 version, Query Issues

sdo_util.GetNumRings gives ORA-06531

select sdo_util.GetNumElem(null) from dual
/
select sdo_util.GetNumVertices(null) from dual
/
select sdo_util.GetNumRings(null) from dual --> ORA-06531: Reference to uninitialized collection
/

ERROR
-----------------------
06531

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms