• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1291
  • Last Modified:

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

All database objects are compiled, and the program unit that 'cannot be found' exists on the same database as a public procedure in a package. The problem is intermittent, and if I exit the calling application (32-bit Windows app) and start it again, then the problem no longer exists for some amount of time... Can you shed some light on this?
0
Kanigi
Asked:
Kanigi
  • 2
1 Solution
 
flow01Commented:
For example in oracle forms you can get this kind of failure if some of the dependent program units of a dependent of such dependents becomes temporary invalid because of a creating a  new version of a such a dependent module.
0
 
KanigiAuthor Commented:
All dependants are compiling successfully.
0
 
flow01Commented:
Some tools keep track of the current version of a module,  succesful compilation of a changed module creates another version: in oracle forms I can reproduce this error.
 
You could try to reproduce it for your application:
If the failure occurs check
LAST_DDL_TIME  
TIMESTAMP      
of dba_objects view  (types: functions, procedures,package and package_body) to find  modules changed recently before the error
Try to evaluate which part of the application uses that module
open your application   an use that part,  recreate the module (same source)  and see if you get the error.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now