Patch 10117518 Fails With "ORA-04063: package body "APPS.AD_PATCH" has errors" Error (Doc ID 2122302.1)

Last updated on APRIL 01, 2016

Applies to:

Oracle Applications DBA - Version 12.2 to 12.2 [Release 12.2Cloud]
Information in this document applies to any platform.

Symptoms

On 12.2 version, Patch Application Issues
Upgrading EBS from 12.1 to R12.2.
As part of the upgrade before running driver patch, the CUP patches are being applied as per Oracle E-Business Suite Upgrade Guide Release 12.0 and 12.1 to 12.2 requirement:
Apply AD 12.2 upgrade driver (required)
The following error appears while applying the AD Upgrade Patch for 12.2 (patch 10117518):

AutoPatch error:
ORA-04063: package body "APPS.AD_PATCH" has errors
ORA-06508: PL/SQL: could not find program unit being called: "APPS.AD_PATCH"
ORA-06512: at line 3

Package compilation error: PACKAGE apps.AD_PATCH compile body;


Details:

SQL> show error
Errors for PACKAGE BODY APPS.AD_PATCH:

LINE/COL ERROR
-------- -----------------------------------------------------------------
14/11 PLS-00323: subprogram or cursor 'IS_PATCH_APPLIED2' is declared
in a package specification and must be defined in the package
body

38/3 PL/SQL: Statement ignored
38/10 PLS-00306: wrong number or types of arguments in call to
'IS_PATCH_APPLIED'

156/3 PL/SQL: Statement ignored
156/10 PLS-00306: wrong number or types of arguments in call to
'IS_CODELINE_PATCH_APPLIED'

 

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