My Oracle Support Banner

"ClassCastException: String Cannot be Cast to Number" when Opening a Requisition or Receipt (Doc ID 2099255.1)

Last updated on JUNE 07, 2021

Applies to:

Oracle Purchasing - Version 12.2.4 and later
Oracle iProcurement - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

When opening a requisition or a receipt in iProcurement or Buyer Work Center, the following error occurs:

ERROR

You have encountered an unexpected error

EXCEPTION DETAILS

## Detail 0 ##
java.lang.ClassCastException: java.lang.String cannot be cast to oracle.jbo.domain.Number
at oracle.apps.icx.por.reqmgmt.server.GroupReqDetailsVORowImpl.getConformedHeaderId(GroupReqDetailsVORowImpl.java:927)
at oracle.apps.icx.por.reqmgmt.server.ReqMgmtActionsSvrCmd.testValidationForWithdraw(ReqMgmtActionsSvrCmd.java:1889)
at oracle.apps.icx.por.reqmgmt.server.ReqMgmtActionsSvrCmd.testValidationForAction(ReqMgmtActionsSvrCmd.java:1161)
at oracle.apps.icx.por.reqmgmt.server.ReqMgmtActionsSvrCmd.testValidationsForReq(ReqMgmtActionsSvrCmd.java:1026)
at oracle.apps.icx.por.reqmgmt.server.ReqMgmtActionsSvrCmd.executeMethodByName(ReqMgmtActionsSvrCmd.java:339)
at oracle.apps.icx.por.reqmgmt.server.ReqMgmtActionsSvrCmd.execute(ReqMgmtActionsSvrCmd.java:295)
at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand(PorBaseAMImpl.java:122)
at sun.reflect.GeneratedMethodAccessor1405.invoke(Unknown Source)

 

The issue occurs only for requisitions with associated orders and receipts.

For requisition without associated order, the issue does not occur.

 

STEPS TO REPRODUCE

The issue can be reproduced at will with the following steps:
1. Navigate to iProcurement
2. Choose Requisitions or Receiving tab/subtab.
3. Click on “Search”.
4. Look for a requisition (with an associated order), and click on the requisition link. Similarly, open a receipt associated to an order.
5. An error page occurs.

Changes

 

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.