Oracle Error OCI-22608: cannot add an attribute to the already generated image handle

Oracle Error Message

OCI-22608: cannot add an attribute to the already generated image handle

Reason for the Error

Attempt to add an attribute to the already constructed image.

Solution

Use an image handle that is initialized but not yet constructed.