2016-09-23

ORA-06512: at "SYS.XMLTYPE", line 169

ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.XMLTYPE", line 169

Job Fails With ORA-21780 ORA-6512 After Upgrade from 11.2.0.1.0 To 11.2.0.3.0 (Doc ID 1537703.1) To BottomTo Bottom

In this Document
Symptoms
Cause
Solution
References

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.
SYMPTOMS

Database was upgraded from 11.2.0.1 to 11.2.0.3.1.
Query using:

XMLTYPE
(
REGEXP_REPLACE
(
SYS_XMLGEN
(
XMLELEMENT

See test case for details.
gets for each row error:

ORA-21780: Maximum number of object durations exceeded.
ORA-06512: at "SYS.UTL_SMTP", line 186
ORA-06512: at "I2B2STAGINGHPCE.SP_SEND_EMAIL", line 22
ORA-06512: at "I2B2STAGINGHPCE.USP_LOAD_FACT_POPCASES", line 650
ORA-21780: Maximum number of object durations exceeded.
ORA-06512: at "SYS.XMLTYPE", line 310
ORA-06512: at "I2B2STAGINGHPCE.FN_PERIOP_ONTIME", line 1112
...

Notes:
This was working fine in 11.2.0.1 and it is throwing this error in 11.2.0.3.1
Customer's database characterset is WE8MSWIN1252


CAUSE

Code bug

Bug 16404196 - JOB FAILS WITH ORA-21780 ORA-6512
set as duplicate of Bug 13829838 - ORA-07445 [KKXUEXE] DUING PL/SQL PROCESS


SOLUTION

Download and apply patch 13829838

Log into https://support.oracle.com
Click on Patch ID or Number
Patch ID or Number is : 13829838
Click on Search
Click on Bug Number associated to your platform: Choose 11.2.0.3.0 for Linux, it can be applied to the 11.2.0.3.1 installation as well
Click on Download
 

Niciun comentariu:

Trimiteți un comentariu