Oracle Error Message
ORA-24306: bad buffer for piece
Reason for the Error
A zero length buffer or a null buffer pointer was provided.
Solution
Verify that the buffer pointing to this piece or its length is non-zero. The buffer pointer for the next piece or its length can be zero if it is the last piece to be inserted and there are no more data for the column.