My Oracle Support Banner

SDO_GEOM.SDO_BUFFER Query = ORA-2315: Incorrect Number Of Arguments For Default Constructor (Doc ID 2062554.1)

Last updated on OCTOBER 02, 2015

Applies to:

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

Symptoms

In 11.2.0.4.0 on Windows, this query fails in SQL*Plus:

SQL>  select sdo_geom.sdo_buffer
  2              (mdsys.sdo_geometry
  3                  (2003,
  4                  null,
  5                   null,
  6                   mdsys.sdo_elem_info_array(1,1003,1),
  7                   mdsys.sdo_ordinate_array(5,1, 8,1, 8,6, 5,7, 5,1)
  8                  ),
  9               (select m.diminfo
 10                 from user_sdo_geom_metadata m
 11                where m.table_name = 'COLA_MARKETS'
 12                 and m.column_name = 'SHAPE'
 13              ),
 14             11,
 15             'unit=FOOT'
 16             )
 17      from dual;
 select sdo_geom.sdo_buffer
        *
ERROR at line 1:
ORA-02315: incorrect number of arguments for default constructor
ORA-06512: at "MDSYS.SDO_GEOM", line 1326

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.