Updating UDAs In PIM Item Catalog Will Fail When Using A Function-Generated Item Description And A Business Rule

(Doc ID 1382179.1)

Last updated on DECEMBER 22, 2017

Applies to:

Oracle Product Hub - Version 12.1.2 and later
Information in this document applies to any platform.

Symptoms

You find that under the following situations, updating user-defined attribute (UDA) values for items in PIM Item Catalog is failing.

a) Item description is function-generated for the related Item Catalog Category. (ICC)
and
b) An item-level business rule is set on an attribute belonging to an attribute group with at least one attribute being used as a function parameter for the description generation function.

Notes:
- The problem occurs even if the attribute used in the business rule is not itself a function parameter.
- The problem occurs even if the attribute used in the business rule is not the attribute being updated by the user.
- The problem occurs when updating certain attributes only.

- The problem does not occur when disabling the business rule.
- The problem does not occur when creating items. The problem occurs when updating items only.

Error
Extract from 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.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:719)
at oracle.apps.ego.item.eu.webui.EgoItemAttrChgSingleRowCO.processFormRequest(EgoItemAttrChgSingleRowCO.java:248)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)

...

## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.setPkColAndOtherValuesforDataVO(EgoExtFwkAMImpl.java:3335)
at oracle.apps.eng.changemgmt.item.server.ChangeAttrAMImpl.setPkColAndOtherValuesforDataVO(ChangeAttrAMImpl.java:2314)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.createDataVOInstance(EgoExtFwkAMImpl.java:3239)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.createDataVOInstance(EgoExtFwkAMImpl.java:2631)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.createDataVOInstance(EgoExtFwkAMImpl.java:2398)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:719)
at oracle.apps.ego.item.eu.webui.EgoItemAttrChgSingleRowCO.processFormRequest(EgoItemAttrChgSingleRowCO.java:248)

...
]

-- Steps
1. Create an ICC with multiple attribute groups.
2. Create an item page for each attribute group.
3. Create a description generation function that uses attributes from different attribute groups as function parameters.
4. Create a business rule based on an attribute belonging to one of the attribute groups to which the function parameters belong.
5. Create an item for this ICC. Populate the UDAs. Save. See it works fine.
6. Update some of the attributes.
7. See an error page shows up "You have encountered an unexpected error ..."

Changes

 

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