ORA-55303: SDO_RDF_TRIPLE_S Constructor Failed When Inserting Long Blank Nodes (Doc ID 1550707.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

Error ORA-06502: PL/SQL: numeric or value error: character string buffer too small when inserting long blank nodes

SQL> INSERT INTO M_NAMED_GRAPHS_TPL VALUES (SDO_RDF_TRIPLE_S('M_NAMED_GRAPHS:<http://nav.no/kodeverk/Kodeverk/retningsnummer>','<http://nav.no/kodeverk/Term/retningsnummer/Kamerun/nb/237>','<http://www.nav.no/2012/Kodeverk/v01/termnavn>','"237"'));

1 row created.

SQL> INSERT INTO M_NAMED_GRAPHS_TPL VALUES (SDO_RDF_TRIPLE_S('M_NAMED_GRAPHS:<http://nav.no/kodeverk/Kodeverk/retningsnummer>','<http://nav.no/kodeverk/Term/retningsnummer/Kamerun/nb/237>','<http://www.nav.no/2012/Kodeverk/v01/spraak>','"nb"'));

1 row created.

SQL> INSERT INTO M_NAMED_GRAPHS_TPL VALUES (SDO_RDF_TRIPLE_S('M_NAMED_GRAPHS:<http://nav.no/kodeverk/Kodeverk/retningsnummer>','<http://nav.no/kodeverk/Term/retningsnummer/Kamerun/nb/237>','<http://www.nav.no/2012/Kodeverk/v01/gyldig>','_:b458376d713dd48fc18b7f13'));
INSERT INTO M_NAMED_GRAPHS_TPL VALUES (SDO_RDF_TRIPLE_S('M_NAMED_GRAPHS:<http://nav.no/kodeverk/Kodeverk/retningsnummer>','<http://nav.no/kodeverk/Term/retningsnummer/Kamerun/nb/237>','<http://www.nav.no/2012/Kodeverk/v01/gyldig>','_:b458376d713dd48fc18b7f13'))
  *
ERROR at line 1:
ORA-55303: SDO_RDF_TRIPLE_S constructor failed:
SQLERRM=ORA-06502: PL/SQL: numeric or value error: character string buffer too small
[
ORA-06512: at "MDSYS.SDO_RDF_INTERNAL", line 9704
ORA-06512: at "MDSYS.SDO_RDF_INTERNAL", line 8075
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 56
]
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.SDO_RDF_TRIPLE_S", line 68

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