My Oracle Support Banner

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

Last updated on MARCH 01, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


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.




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.