PLM Item Template Cannot Be Applied Due To oracle.apps.fnd.framework.OAException: java.lang.NullPointerException Error

(Doc ID 1184883.1)

Last updated on MARCH 21, 2016

Applies to:

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



Symptoms

Receive the following error attempting to update an item in Product Information Management (PIM/PLM) and Advanced Product Catalog (APC).

Error

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
...
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.ego.extfwk.util.EgoExtFwkUtil.getOtherValueForLov(EgoExtFwkUtil.java:3695)
at oracle.apps.ego.extfwk.util.EgoExtFwkUtil.getOtherValueForLov(EgoExtFwkUtil.java:3471)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.getCurrentSourceRowAndAttrs(EgoExtFwkAMImpl.java:5945)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.assignValuesToVOs(EgoExtFwkAMImpl.java:5628)
at oracle.apps.ego.extfwk.user.presentation.server.EgoExtFwkAMImpl.applyTemplateToVOs(EgoExtFwkAMImpl.java:5358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...


Error #2
Another symptom identified via <Bug 12548404> was the following error when trying to apply a template:

Attribute InventoryItemId in EgoEditItemAM.EgoExtFwkAM.EGO_MASTER_ITEMS431MainITEM_ORG is required


What is working
If the template does not have attribute 'Unit of Issue' selected then there is no issue.


Workaround
Apply the template using the Inventory Module.

Steps

  1. Navigate to Development Manager > Items > Item Simple Search
  2. Select update action in Actions Combo Box and Click on Go Button.
  3. Enter an item template in Template Input Box. The template includes the following setup:
    • Inventory Item = Yes
    • Stockable = Yes
    • Transactable = Yes
    • Unit of Issue = Box
  4. System errors out with an "Error Page":
    You have encountered an unexpected error. Please contact the System Administrator for assistance. Click here for exception details.

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