Package With REF CURSOR Declared in Initialization Part Fails With ORA-06544 /PLS-00801 
(Doc ID 2218130.1)
Last updated on DECEMBER 19, 2019
Applies to:PL/SQL - Version 184.108.40.206 and later
Generic (Platform Independent)
*** Checked for relevance on 2nd Jan 2017 ***
Executing a package which has SYS_REFCURSOR/REF CURSOR declared in initialization section fails with ORA-00600 /ORA-06544 /PLS-00801  error.
This happens during the first execution and subsequent execution runs fine.
The following PL/SQL Package, when executed will produce the error.
ORA-00600: internal error code, arguments: , [severe error during PL/SQL execution], , , , , , , , , , 
ORA-06544: PL/SQL: internal error, arguments: , , , , , , ,
ORA-06553: PLS-801: internal error 
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