View Requisition Gets ClassCastException String Cannot be Cast to Number (Doc ID 2099255.1)

Last updated on JUNE 07, 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

On : 12.2.4 iProcurement and Buyer Work Center BWC

Click to view a requisition gets ClassCastException error for requisitions associated to an order.

CONDITIONS

In iProcurement Home Page, requsition subtab, users are unable to access to requisition details
For requisition without associated order, the issue does not occur.
For requisition accessed through Purchasing responsibility (in Buyer Work Center), we have the same issue.
 

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)

STEPS
The issue can be reproduced at will with the following steps:
1. Navigate to iProcurement
2. Choose Requisitions tab and subtab.
3. Click on “Search”.
4. Look for a requisition (with an associated order), and click on the requisition link
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