Multiple PO Approvals Lead to "Error Page, You Have Encountered An Unexpected Error. Please Contact The System Admin" (Doc ID 1986545.1)

Last updated on MARCH 09, 2015

Applies to:

Oracle Purchasing - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

When approving multiple Purchase Orders (POs), the user encounters the following error message (on average after the fifth PO approval):

Error Page
You have encountered and unexpected error. Please contact the System Administrator.


FND Debug log shows the following errors:
--------------------------------------

oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:810)
at oracle.apps.po.notifications.webui.POApprvNotifCO.processRequest(POApprvNotifCO.java:48)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:631)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:267)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1003)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:970)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:690)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:267)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:1003)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:970)
...
oracle.apps.fnd.common.AppsLog.write(AppsLog.java:1531)
oracle.apps.fnd.common.AppsLog.write(AppsLog.java:1687)
oracle.apps.fnd.framework.webui.OAJSPHelper.writeStackTraceToLog(OAJSPHelper.java:1488)
oracle.apps.fnd.framework.webui.OAJSPHelper.handleErrorStackDisplay(OAJSPHelper.java:1372)
oracle.apps.fnd.framework.webui.OAServerDelegate.handleError(OAServerDelegate.java:1938)
oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1270)
oracle.apps.fnd.framework.webui.OAPageBean.handleExceptionInFinalizeRequest(OAPageBean.java:4749)
oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:4681)
_pages.__oa._jspService(__oa.java:267)
weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
_pages.__oa._jspService(__oa.java:246)
weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:159)
_pages.__oa._jspService(__oa.java:246)
weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1) Select multiple PO approval notifications in the worklist using the select check box
2) Click on "Open" button
3) Approve the selected notifications in sequence
    on an infrequent basis the error occurs (the average is after every fifth one).

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