TSESMDM - Expdp Job Fails With ORA-39126/ORA-06502

(Doc ID 1585451.1)

Last updated on JULY 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.1 [Release 11.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 27-Feb-2015***

Symptoms

Running a schema level datapump export fails with:

ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [TABLE_STATISTICS]
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 9001


After excluding statistics, the job fails again with another ORA-39126/ORA-06502.

The same errors can be seen with next objects excluded:
  statistics, trigger, constraint, package, view, functional_index, index, procedure, function, comment, object_grant

Example:

Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.FETCH_XML_OBJECTS [TABLE:"GS_GC"."FT_MV_TRID_STAT"]
ORA-06502: PL/SQL: numeric or value error: character string buffer too small

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