Full DataPump Export Fails With Errors ORA-39127 ORA-6502 ORA-6512 When Exporting Rules

(Doc ID 1282993.1)

Last updated on MAY 08, 2013

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2]
Information in this document applies to any platform.
***Checked for relevance on 08-May-2013***


A full DataPump export fails with errors like:

ORA-39127: unexpected error from call to export_string :=
SYS.DBMS_RULE_EXP_RULES.create_exp(<rule id>,'',newblock)
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 60
ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 157
ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 36
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 5492

Schema level exports are successful.


The errors are occurring in database version only.


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