ClassCastException Error When Preparer Views Deliver-To Location Information On Submitted Requisition (Doc ID 2169020.1)

Last updated on AUGUST 04, 2016

Applies to:

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

Symptoms

In Oracle iProcurement, Release 12.1.3, an error occurs when the requisition preparer attempts to view the deliver-to location information on a requisition which has been submitted for approval.
Due to this issue, requesters are unable to go back and see/verify which Deliver-To Location was specified on the requisitions they have created and submitted for approval.


ERROR
-----------------------
Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.
Click here for exception details.

 

Exception Details.
 oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.apps.icx.por.reqmgmt.server.ReqMgmtAMImpl cannot be cast to oracle.apps.icx.por.req.server.RequisitionAMImpl
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.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:1002)
at oracle.apps.icx.por.common.webui.PorBaseCOImpl.invokeMethod(PorBaseCOImpl.java:242)
at oracle.apps.icx.por.common.webui.PorBaseCOImpl.executeServerCommand(PorBaseCOImpl.java:160)
at oracle.apps.icx.por.req.webui.OneTimeLocationCO.processRequest(OneTimeLocationCO.java:85)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2681)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1963)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:557)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:439)
at _OA._jspService(_OA.java:205)
..
..
## Detail 0 ##
java.lang.ClassCastException: oracle.apps.icx.por.reqmgmt.server.ReqMgmtAMImpl cannot be cast to oracle.apps.icx.por.req.server.RequisitionAMImpl
at oracle.apps.icx.por.req.server.OneTimeLocationSvrCmd.prepareForDisplay(OneTimeLocationSvrCmd.java:138)
at oracle.apps.icx.por.req.server.OneTimeLocationSvrCmd.execute(OneTimeLocationSvrCmd.java:66)
at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand(PorBaseAMImpl.java:122)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:722)
at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:1002)
at oracle.apps.icx.por.common.webui.PorBaseCOImpl.invokeMethod(PorBaseCOImpl.java:242)
at oracle.apps.icx.por.common.webui.PorBaseCOImpl.executeServerCommand(PorBaseCOImpl.java:160)
at oracle.apps.icx.por.req.webui.OneTimeLocationCO.processRequest(OneTimeLocationCO.java:85)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2681)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1963)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:557)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:439)
at _OA._jspService(_OA.java:205)
..
..

 


Steps To Reproduce

The issue can be reproduced at will with the following steps in Oracle iProcurement.
1. The requester creates a non-catalog request. During checkout, the requester specifies a one-time value for the Deliver-To Location field. Submits the requisition for approval.
2. The first approver of the requisition opens up the approval notification, selects the Edit Requisition link to modify amount, and completes checkout and submits for approval to the next approver.
3. The current status of the requisitions is "In Process", pending approval action from the remaining document approvals in the approval chain.
4. The requester goes to view requisition details from the requisition tab by clicking the Details icon and expand the "Show Additional Information” hyperlink. At this point, the user clicks the link for the Deliver-To Location field, and the error occurs.




Changes

 

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