DataPump Export (EXPDP) Fails With Error ORA-39125 While Calling DBMS_METADATA.FETCH_XML_CLOB [COMMENT] (Doc ID 780033.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Oct-2013***

Symptoms

While trying to use DataPump export you get the following errors:

ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while
calling DBMS_METADATA.FETCH_XML_CLOB [COMMENT]
ORA-22923: amount of data specified in streaming LOB write is 0
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6313

----- PL/SQL Call Stack -----
object line object
handle number name
0x75a47814 15032 package body SYS.KUPW$WORKER
0x75a47814 6372 package body SYS.KUPW$WORKER
0x75a47814 2396 package body SYS.KUPW$WORKER
0x75a47814 6944 package body SYS.KUPW$WORKER
0x75a47814 1314 package body SYS.KUPW$WORKER
0x78836b2c 2 anonymous block

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