My Oracle Support Banner

Exception :'Number Format Exception' When Getting Large Attachment Size Using Custom Software Development Kit(SDK) Code (Doc ID 2831737.1)

Last updated on MAY 18, 2022

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 to 9.3.6.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms


Post applying RUP17, In case of large files getting the attachment size from Attachments table using the below SDK code is returning Exception.
agileFileSize = Double.parseDouble(attachmentValues.get(ItemConstants.ATT_ATTACHMENTS_FILE_SIZE).toString());
 

ERROR
-----------------------
Number format exception



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Upgrade from RUP12 to RUP17
2. Run custom code to retrieve attachment size of large files
3. Fails with Exception


WHAT'S WORKING
--------------------------
Was working fine in RUP12



Changes

 Upgraded from 9.3.6 RUP12 to Rup17

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
Changes
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.