UTL_CALL_STACK.BACKTRACE_UNIT Raises ORA-64610 When Called From Anonymou Block
(Doc ID 2419817.1)
Last updated on MARCH 04, 2022
Applies to:
PL/SQL - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
Executing an anonymous block having a call to utl_call_stack.backtrace_unit() in the exception handling section fails with ORA-64610: bad depth indicator whenever the anonymous block raises an exception.
The same behavior is observed when a procedure(raising some exception) is called dynamically from another procedure and the exception handling section of the caller makes a call to utl_call_stack.backtrace_unit().
The following PL/SQL code demonstrates the issue:
Cause
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
Symptoms |
Cause |
Solution |
References |