java.lang.NullPointerException exception thrown executing updateCustomerAccountByValueRequest XML API (Doc ID 1299153.1)

Last updated on MARCH 10, 2011

Applies to:

Oracle Communications MetaSolv Solution - Version: 6.0.15 and later   [Release: 6.0.15 and later ]
Information in this document applies to any platform.

Symptoms

  1. Execute updateCustomerAccountByValueRequest XML API
  2. Populate <cus2:customerAddressKey>123456</cus2:customerAddressKey> with existing address_id from cust_acct_addr table for the cust_acct_id where the cust_addr_function_cd=PBILL
  3. Update the <cus2:structureFormat> fields with values that belong to another active address from the address table (leave the address_id for old address but updated the fields to values that correspond to another active address)
  4. Receive the following error:
    External Service Failure: Exception Thrown Importing Update Customer.
    Message: null
    <ns:exceptionResponse xmlns:ns="http://www.openuri.org/">
        <ns:errorMessage> #### Mon Sep 13 20:53:46 EDT 2010;java.lang.NullPointerException</ns:errorMessage>
        <ns:exceptionToString> #### java.lang.Exception: Mon Sep 13 20:53:46 EDT 2010;java.lang.NullPointerException</ns:exceptionToString>
    </ns:exceptionResponse>
  5. Even though this error is thrown, the cust_acct_addr table is updated with the address_id of the address that was supplied in the structured format <cus2:structureFormat> fields for all cust_acct_id  that have this address_id

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