Oracle Message ORA-06525 - Length Mismatch for CHAR or RAW data

ERRORLength Mismatch for CHAR or RAW data
CAUSEThe length specified in the length variable has an illegal value. This can happen if you have requested requested a PL/SQL INOUT, OUT or RETURN raw variable to be passed as a RAW with no corresponding length variable. This error can also happen if there is a mismatch in the length value set in the length variable and the length in the orlvstr or orlraw.
ACTIONCorrect the external procedure code and set the length variable correctly.