DBMS_OUTPUT.PUT_LINE (X.Getclobval()) Returns ORA-06502 (Doc ID 1285686.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle XML Developers Kit - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Oct-2012***

Symptoms

DBMS_OUTPUT.PUT_LINE is returning the following error when attempting to print out the return value from x.getclobval().

ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 409

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms