My Oracle Support Banner

PL/SQL Returns ORA-28106: Input Value For Argument #2 Is Not Valid and ORA-7445 from code run by the Job Scheduler (Doc ID 1369310.1)

Last updated on OCTOBER 06, 2022

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


One way that this error occurs is via DBMS_SESSION.SET_CONTEXT run through the Job Scheduler. A PL/SQL procedure fails, intermittently, with ORA-28106: input value for argument #2 is not valid when trying to set the context using DBMS_SESSION.SET_CONTEXT. 

The trace file shows that the context attribute, (the 2nd parameter) is empty whereas it was not coded this way. 

The error can also appear with an ORA-7445 exception encountered: core dump [pevm_CMP3C()+29]. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.