NullPointerException Error at PoRequisitionHeaderEOImpl.setAttributeNoStatusChange When Using Copy To Cart Feature in iProcurement (Doc ID 2005088.1)

Last updated on APRIL 29, 2015

Applies to:

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

Symptoms

In 12.1.3 iProcurement
Copy to cart intermittently gets NullPointerException at PoRequisitionHeaderEOImpl.setAttributeNoStatusChange

ERROR
You have encountered an unexpected error

EXCEPTION
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.icx.por.schema.server.PoRequisitionHeaderEOImpl.setAttributeNoStatusChange(PoRequisitionHeaderEOImpl.java:257)
at oracle.apps.icx.por.schema.server.CustomReqHeaderHelper.executeGlobalDefaultingLogic(CustomReqHeaderHelper.java:568)
at oracle.apps.icx.por.schema.server.CustomReqHeaderHelper.defaultFromCopy(CustomReqHeaderHelper.java:138)
at oracle.apps.icx.por.schema.server.PoRequisitionHeaderEOImpl.defaultFromCopyLogic(PoRequisitionHeaderEOImpl.java:193)
at oracle.apps.icx.por.schema.server.PorBaseEOImpl.executeHelperLogic(PorBaseEOImpl.java:584)
at oracle.apps.icx.por.schema.server.PorBaseEOImpl.defaultFromCopy(PorBaseEOImpl.java:693)
at oracle.apps.icx.por.req.server.RequisitionSvrCmd.copyReq(RequisitionSvrCmd.java:1051)
at oracle.apps.icx.por.req.server.RequisitionAMImpl.copyReq(RequisitionAMImpl.java:1070)
at oracle.apps.icx.por.req.server.ReqOpSvrCmd.handleReqOp(ReqOpSvrCmd.java:431)
at oracle.apps.icx.por.req.server.ReqOpSvrCmd.executeMethodByName(ReqOpSvrCmd.java:88)
at oracle.apps.icx.por.req.server.CheckoutInfoBaseSvrCmd.execute(CheckoutInfoBaseSvrCmd.java:118)
at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand(PorBaseAMImpl.java:122)
...



STEPS TO REPRODUCE
1. Navigate to iProcurement
2. Search for an already existing requisition in iProcurement
3. Click the "Copy to Cart" feature
- get the error and exception intermittently

Not every user gets the error, and it occurs only intermittently
WORKAROUND: Logout and Login again and sometimes it works on next attempt.


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