My Oracle Support Banner

FND_ATTACHED_DOCUMENTS Grows Larger Than The MAX_VALUE Of Int Type In Java (Doc ID 2695975.1)

Last updated on JULY 29, 2020

Applies to:

Oracle Application Object Library - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, ATTACHMENTS/ EXPORT

FND_ATTACHED_DOCUMENTS has grown larger than the MAX_VALUE of int type in Java

ERROR
-----------------------

## Detail 0 ##
java.sql.SQLException: Overflow Exception
at oracle.sql.NUMBER.toInt(NUMBER.java:439)
at oracle.sql.NUMBER.intValue(NUMBER.java:2141)
at oracle.jbo.domain.Number.intValue(Number.java:486)
at oracle.apps.fnd.framework.webui.OADataBoundValueAttachment.getValue(OADataBoundValueAttachment.java:279)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Issue is seen in OAF pages where there are attachments.
Max value for AttachedDocumentId column in FND_ATTACHED_DOCUMENTS has grown larger than the MAX_VALUE of int type in Java  - max value is 2149125426




Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.