My Oracle Support Banner

Entering Assignment Costing with Proportion Percentage Value with Decimals Throws Java.lang.NumberFormatException: For Input String: "XX.XX" (Doc ID 2256281.1)

Last updated on DECEMBER 11, 2023

Applies to:

Oracle Payroll - Version 12.1 to 12.1 HRMS RUP10 [Release 12.0 to 12.1]
Information in this document applies to any platform.
This note provides a brief overview of .

Symptoms

Problem Statement:

When attempting to create costing with Manager Self-Service(SSHR), the following error occurs.

Exception Details.  
oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: For input string: "XX.XX"
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:722)
at oracle.apps.pay.selfservice.assignmentcosting.webui.AssignmentCostingReviewCO.handleSubmitEvent(AssignmentCostingReviewCO.java:373)
....

## Detail 0 ##
java.lang.NumberFormatException: For input string: "XX.XX"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)

 

 

Steps to Reproduce:

The issue can be reproduced at will with the following steps:

  1.  Assignment has following costing information.

       Proportion: 90.01
       Cost Code: XXX-XXX-XXXX-XXXX
       From 01-JAN-2000
       To: 31-DEC-2000

      Proportion: 100
      cost Codes: YYY-YYY-YYYY-YYYY
      Start date: 01-JAN-2001
      End Date: null

  2.  Login as Manager Self Service and try to update the costing information.

      Assignment Costing page
      Proportion: 100
      cost Codes: YYY-YYY-YYYY-YYYY
      Start date: 01-JAN-2001
      End Date: null

      Update the costing information and click on submit button.
      Mode: Update
      Proposed Proportion: 100
      Proposed Cost Codes: ZZZ-ZZZ-ZZZZ-ZZZZ
      Start date: 01-JAN-2001
      End Date: null

  3.  Error occurs when submitting.

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.