Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error on Oracle APEX Page: ORA-06502: PL/SQL: numeric or value error

Bharath S6 days ago

Hi everyone,

I'm currently developing an Oracle APEX application and I'm facing an issue on one of my app pages where the following error is thrown:

ORA-06502: PL/SQL: numeric or value error

Display Location: INLINE_IN_NOTIFICATION

Issue Details:

  • The error appears when I try to [e.g., submit a form / update a record / call a process].
  • I have double-checked the data types in the table and the items in the form, and I don’t see any obvious mismatches.
  • There’s no clear indication of which field or value is causing the issue.
  • This happens even when I enter what seems like valid data.

Things I’ve Tried:

  • Verified column lengths in DB match APEX item lengths.
  • Checked any TO_NUMBER, TO_CHAR, or casting in PL/SQL processes.
  • Tried using DBMS_OUTPUT.PUT_LINE to trace, but I still couldn’t pinpoint it.

Questions:

  1. What are some reliable ways to debug this kind of error in APEX?
  2. How can I identify exactly which item or process is causing the value or numeric error?
  3. Is there a common mistake in Dynamic Actions or PL/SQL processes that might trigger this?

Environment Info:

  • Oracle APEX version: [insert version, e.g., 23.1]
  • Database version: [e.g., Oracle 19c]
  • App is hosted on: [e.g., apex.oracle.com / local instance]

Would really appreciate any guidance or steps to trace this error more effectively. Thank you in advance!

Comments
Post Details
Added 6 days ago
2 comments
75 views