NullPointerException When Calling POR_CUSTOM_PKG.CUSTOM_DEFAULT_REQ_DIST
(Doc ID 2354760.1)
Last updated on AUGUST 06, 2020
Applies to:
Oracle iProcurement - Version 12.2.4 and laterInformation in this document applies to any platform.
Symptoms
Problem Statement
When attempting to call POR_CUSTOM_PKG.CUSTOM_DEFAULT_REQ_DIST with result code 1, the following error occurs.
Error
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.getFirstDistribution(CheckoutSummarySvrCmd.java:1017)
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.prepareReqDistsForDisplay(CheckoutSummarySvrCmd.java:674)
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.prepareReqLinesForDisplay(CheckoutSummarySvrCmd.java:605)
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.prepareReqSummaryVOForDisplay(CheckoutSummarySvrCmd.java:463)
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.prepareForDisplay(CheckoutSummarySvrCmd.java:286)
at oracle.apps.icx.por.req.server.CheckoutSummarySvrCmd.executeMethodByName(CheckoutSummarySvrCmd.java:157)
at oracle.apps.icx.por.req.server.CheckoutInfoBaseSvrCmd.execute(CheckoutInfoBaseSvrCmd.java:161)
...
Steps to Reproduce
- Enable the profile below to Y at the site or responsibility level:
POR: Enable Req Distribution Customization
- Change the code of POR_CUSTOM_PKG.CUSTOM_DEFAULT_REQ_DIST as below and compile the package.
- Go to the iProcurement responsibility.
- Add an item into shopping cart.
- Click the checkout button then face the error.
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 |