Users Encounter Java.lang.NullPointerException Without Any Actual Error Message Displayed On Page (Doc ID 1626574.1)

Last updated on JANUARY 26, 2016

Applies to:

Oracle Contract Lifecycle Management for Public Sector - Version 12.1.3 and later
Oracle iProcurement - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Award/PO

Users are getting Unexpected Error page with 'java.lang.NullPointerException' stack traces in the following cases in the CLM enabled Purchasing responsibilities without giving the actual error message on the OA Framework pages.

The cases where the issues is happening :

1. Project/Task is not valid
2. Period is closed/future in PO,PA or GL
3. Any mandatory field is missed out etc.,

The expectation is that the application will present correct error message on the OA Framework Pages when error occurs.  
e.g.:  In case of Project/Task is not valid, present message stating the same, not an Unexpected Error.

<Patch 17836596>:R12.PO.C wasapplied but issue persists

 
Error
 

Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2675)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1786)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
...
...
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.fnd.framework.OARowValException.getLocalizedMessage(OARowValException.java:713)
at oracle.apps.fnd.framework.OAException.getMessage(OAException.java:825)
at java.lang.Throwable.getLocalizedMessage(Throwable.java:267)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.createExceptionDetails(OAPageErrorHandler.java:855)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.addToPageErrorStore(OAPageErrorHandler.java:1519)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processCollectedMessage(OAPageErrorHandler.java:477)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processBundledCollectedMessage(OAPageErrorHandler.java:312)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.collectDialogMessages(OAPageErrorHandler.java:244)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.collectExceptions(OAPageErrorHandler.java:210)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2671)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1786)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
...
...



Steps To Reproduce
1. Log in and access CLM iProcurement.
2. Create a Non Catalog Request.
3. Add to Cart.
4. On the 'Checkout: Requisition Information' page enter details and click Save.
5. Get error.
 

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