Oracle Message ORA-01479 - last character in the buffer is not Null

ERRORlast character in the buffer is not Null
CAUSEA bind variable of type 97 does not contain null at the last position
ACTIONMake the last character null