Oracle Error ORA-22610: error while adding a scalar to the image handle

Oracle Error Message

ORA-22610: error while adding a scalar to the image handle

Reason for the Error

Error while adding a scalar attribute to the image handle

Solution

Make sure image handle is initialized before adding scalar