Unexpected Error & Java.util.NoSuchElementException Error Adding Two Components to Same Dimension (Doc ID 1082329.1)

Last updated on APRIL 24, 2016

Applies to:

Oracle Enterprise Performance Foundation - Version: 11.5.10 to 11.5.10.2 - Release: 11.5 to 11.5
Oracle Profitability Manager - Version: 11.5.10 to 11.5.10.2   [Release: 11.5 to 11.5]
Information in this document applies to any platform.

Symptoms

After applying <<Patch 8244130>> "1-OFF: ALLOW COND COMPONENT TO HAVE BOTH ATTRIBUTE AND HIERARCHY FOR A DIMENSION", in Profitability Manager 11i, when you try to add a second dimension component to a single dimension, you get an "unexpected error" message and a "oracle.apps.fnd.framework.OAException: java.util.NoSuchElementException" error as described below:

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

With "FND: Diagnostics" enabled, when the user clicks on the exception details link, they see the following error:

oracle.apps.fnd.framework.OAException: java.util.NoSuchElementException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:785)
at oracle.apps.fem.condition.webui.CondDimCompDefCO.applyButtonAction(CondDimCompDefCO.java:225)
at oracle.apps.fem.fwk.webui.FemPageLayoutControllerImpl.processFormRequest(FemPageLayoutControllerImpl.java:155)
at oracle.apps.fem.condition.webui.CondDimCompDefCO.processFormRequest(CondDimCompDefCO.java:311)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2676)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1683)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
at _oa__html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.util.NoSuchElementException
.
.
.


Note: In random cases, another error appeared as well.  After adding the second dimension component, after clicking the Apply button, the following error appears at the top of the screen:

The column already exists in another component.

Steps to reproduce:
  1. Go to the Profitability Manager responsibility
  2. Go to Business Rule > Mapping
  3. Search for the Mapping Rule you want to update with the 2nd component
  4. Click Update in the Initial Data Source
  5. Click on Update for the local condition 
  6. Click on Dimension Components
  7. Click on Add Dimension Component 
  8. Enter a dimension that already has a dimension component assigned
  9. Select the second component to add
  10. Click Apply
The error appears.

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