My Oracle Support Banner

NullPointerException When Executing MergeSystemRecord (Doc ID 2870847.1)

Last updated on JULY 13, 2023

Applies to:

Oracle Healthcare Master Person Index - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

On Oracle Healthcare Master Person Index (OHMPI) 5.0 version, Master Index Main Component

When attempting to merge two system records in the Web Service API operation mergeSystemRecord using the new option that add a new transaction field in the broadcast message,
the following exception is thrown:

ERROR
-----------------------
MDM-MI-MSC582: MasterControllerImpl encountered a ProcessingException: name=java.lang.NullPointerException, message=null, stack trace=
java.util.Calendar.setTime(Calendar.java:1781)
java.text.SimpleDateFormat.format(SimpleDateFormat.java:954)
java.text.SimpleDateFormat.format(SimpleDateFormat.java:947)
java.text.DateFormat.format(DateFormat.java:356)
com.sun.mdm.index.outbound.ObjectNodeXML.txnMetadataToXml(ObjectNodeXML.java:459)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Add the following line to the master.xml true to have the broadcast message returning transaction metadata.
2) Create 2 system record with the same system code and merge them using the operation mergeSystemRecord


Cause

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
Symptoms
Cause
Solution
References


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