During code-set conversion, if both the input buffer and the output buffer are of NULL length, code-set conversion does not proceed, and the conversion process terminates after this error is returned. Check the logic of your application program.