Oracle Message OCI-30150 - Invalid argument passed to OCIFile function

ERRORInvalid argument passed to OCIFile function
CAUSEAn invalid argument is passed to the OCIFile function. The most common cause is that a NULL pointer is passed where a non-NULL pointer is expected.
ACTIONMake sure that the values passed as arguments are valid. Esp check for NULL pointers.