Failure of Loading OfferIdMappings.xml file into OMLR 5 application

Failure of Loading OfferIdMappings.xml file into OMLR 5 application

book

Article ID: KB0073738

calendar_today

Updated On:

Products Versions
TIBCO Order Management 5.x

Description

Below error is returned in omsServer logs when trying to load OfferIdMappings.xml file:
===
09 Jun 2020 14:42:21,584 ERROR [] [] [Member1] [com.tibco.aff.oms.server.jms.afi.OfflineCatalogWSPollPublisher] [readFilesinDirectoryInternal] - [ThreadID:159] [Tenant ID:TIBCO] Exception while processing OfferIdMappings.xml. java.lang.NullPointerExceptionjava.lang.RuntimeException: java.lang.NullPointerException
at com.tibco.aff.oms.server.jms.afi.OfflineCatalogWSPollPublisher.persistDataModel(OfflineCatalogWSPollPublisher.java:859)
....
...
Caused by: java.lang.NullPointerException
at com.tibco.aff.oms.server.jms.afi.OfflineCatalogWSPollPublisher.persistDataModel(OfflineCatalogWSPollPublisher.java:658)
===

Issue/Introduction

This KB article deals with the failure of loading OfferIdMappings.xml file into OMLR 5 system when trying to load the catalog.

Resolution

Actually, OfferId is not used in OMLR product. This is because OfferId is used only by OPE component which was delivered with FOM product in version 4 and earlier versions. But starting from version 5, OPE is delivered as a separate product (TIBCO® Offer and Price Engine 5). So there is no need to load OfferIdMappings.xml file into OMLR application.