DATAPATCH FAILS WITH: PLS-00302: COMPONENT CLEAR_STATE MUST BE DECLARED (Doc ID 2283170.1)

Last updated on JULY 10, 2017

Applies to:

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

Symptoms

Datapatch failed with error “PLS-00302: component ‘CLEAR_STATE’ must be declared” in a multi tenant environment.

From sqlpatch_invocation.log
——————————

 

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