ORA-39097 ORA-39065 ORA-21780

expdp job is failing with the below error:

ORA-39097: Data Pump job encountered unexpected error -21780
ORA-39065: unexpected master process exception in DISPATCH
ORA-21780: Maximum number of object durations exceeded.
ORA-06512: at “SYS.KUPM$MCP”, line 14382
ORA-06512: at “SYS.KUPM$MCP”, line 12886
ORA-06512: at “SYS.KUPM$MCP”, line 12565
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619
ORA-06512: at “SYS.KUPM$MCP”, line 15267
ORA-06512: at “SYS.KUPM$MCP”, line 12619

The solution is to add the option exclude=STATISTICS/MARKER .

It can also be because temp file is missing from the temp tablespace