Oracle Message OCI-22606 - pickler image handle [string] is not well-formed

ERRORpickler image handle [string] is not well-formed
CAUSEAttempt to use the image handle without initializing/ constructing it.
ACTIONUse OCIPicklerImageInit to initialize the handle before it is constructed. Use OCIPicklerImageGenerate to generate the image before its attributes can be accessed.