Oracle Error Message
ORA-24336: invalid result set descriptor
Reason for the Error
The result set descriptor should have valid data fetched into it before it can be converted to a statement handle
Solution
Fetch valid data into the descriptor before attempting to convert it into a statement handle