Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Facing error: ORA-06508: PL/SQL: could not find program unit being called

user9339278Jul 17 2014 — edited Jul 17 2014

Hi,

I am facing very strange problem. I am using Oracle 11g R2 and i have 1 package which contents multiple procedures. When i perform some operations via application then sometimes 1 got below error or sometimes perform successfully.

Error:- ORA-06508: PL/SQL: could not find program unit being called 

Can anyone help me to understand why this type of issue happens and what should i do to resolve permanently?


For ex:- If i performed 10 operations and out of 10 8-9 operations successfully done and 1-2 operations failed.

As per my understanding this error will occur when someone made change in base objects which are used in pckge/proc/func etc so the func/pckge/proc is going in invalid state. To resolve i am doing recompile that object but it will resolve my problem temporary.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2014
Added on Jul 17 2014
3 comments
1,477 views