ORA-06502: PL/SQL: Numeric Or Value Error: Character string too long, on-load page After Upgrade to Apex 5.0 (Doc ID 2099413.1)

Last updated on JANUARY 25, 2016

Applies to:

Oracle Application Express (formerly HTML DB) - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

On APEX 5.0

When attempting to run an application that migrated from APEX 4.2 the following error occurs loading particular some pages:

ERROR
-----------------------
ORA-06502: PL/SQL: numeric or value error: character string buffer too small


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Upgrade the instance from apex 4.2 to 5.0
2. Run the application and access page 4 see the error instead of the page


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