"ClassCastException: String Cannot be Cast to Number" when Opening a Requisition or Receipt

(Doc ID 2099255.1)

Last updated on DECEMBER 28, 2017

Applies to:

Oracle iProcurement - Version 12.2.4 and later
Oracle Purchasing - 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 a nd 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.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms