DBMS_METADATA.GET_DDL Fail With ORA-31603 and/or ORA-20978 Reported While Enabling Online Patching EBS 12.2

(Doc ID 1949427.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

On Database version 11.2.0.3

When attempting to use DBMS_METADATA.GET_DDL when logged as SYSTEM database user,the following error occurs.

ORA-31603: object "JTF_PF_PAGE_OBJECT" of type TYPE not found in schema "APPS"

ORA-06512: at "SYS.DBMS_METADATA", line 5363
ORA-06512: at "SYS.DBMS_METADATA", line 7879


The issue can be reproduced at will with the following steps:


However – if one login as APPS then DBMS_METADATA.GET_DDL returns proper DDL.

Changes

  Enabling Online Patching After Upgrade EBS to 12.2 

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