My Oracle Support Banner

Error Oracle.Apps.Imc.Ocong.Root.Server.Imcrootamimpl.Getpartynamefromid When Add New Contact (Doc ID 1428352.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Trading Community - Version 12.1.3 and later
Oracle Receivables - Version 12.1.3 and later
Information in this document applies to any platform.


After upgrading from 11i to R12.1.3, when a user is adding a new contact to an organization the DQM rules checks to see if a person or contact already exists that matches.

If users select the option Use Existing Person, the following error is received:

You have encountered an unexpected error. Please contact the System Administrator for assistance.

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(
at oracle.apps.fnd.framework.OAException.wrapperException(
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(
## Detail 0 ##
at oracle.apps.imc.ocong.root.server.ImcRootAMImpl.getPartyNameFromId(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(

The issue only happens when Option 2: Use Existing Person is selected.
The contact is added successfully but the error message leads the user to think it was not created.

Steps to reproduce:
-Customers Online Superuser, N: Home tab : Customers sub-tab
-Query a customer
-Click on Relationship > Contact
-Select a relationship type and click on Create button
-Enter a contact name that already exists.
-The Warning: Possible Matching Persons appears with 2 options:
   Option 1: Create new person
   Option 2: Use Existing Person
-Select Option 2: Use Existing Person. The error appears.


The issue is due to a custom personalization.

The following personalization has been done at the Responsibility level on the Create/Update Contact page in OCO:

-Navigate to Contacts page in OCO.
-Select a contact and click on Update button
-Click on Personalize Page link at the top right.
-Click on Personalize pencil for Message Text Input: First Name
-Under Personalization Properties, Read Only is set as follows:
Responsibility: Customers Online CS User_RTS
SPEL = ${oa.zzCusContactRoleVO1.ReadOnly}
Result / Source = ${oa.zzCusContactRoleVO1.ReadOnly} / Responsibility

This is a customization as oa.zzCusContactRoleVO1.ReadOnly is a customization.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.