My Oracle Support Banner

Full DataPump Export Fails With Errors ORA-39127 ORA-6502 ORA-6512 When Exporting Rules (Doc ID 1282993.1)

Last updated on AUGUST 04, 2018

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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.