DataPump Export Or Import Errors ORA-39126 ORA-6502 LPX-00217 Invalid Character 0 (U+0000)

(Doc ID 1534754.1)

Last updated on OCTOBER 07, 2014

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 07-Oct-2014***


When exporting or importing with DataPump, a table with a functional index that contains a null byte in expression is raising errors like:

ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS [TABLE:"<owner>"."<table name>"]
ORA-6502: PL/SQL: numeric or value error
LPX-00217: invalid character 0 (U+0000)
ORA-6512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-6512: at "SYS.KUPW$WORKER", line 8358

An example of such an index is:

The 'chr (0)' is stored as NULL.


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