Cause: The output raw buffer passed to a UTL_PG NUMBER_TO_RAW conversion routine was not large enough to contain the results of the conversion based on the picture mask. See the solution below.
Error solution: Increase the raw buffer size to the size necessary to hold the entire result of the conversion.
Database version: Oracle 11g Release 2 (11.2)