SAP Knowledge Base Article - Preview

3130577 - No matching DataLocale error preventing order replication to Backend in SAP Commerce 2005.5

Symptom

During replication of orders to the backend, it failed when the product short text is in a language that does not match with any DataLocale.

The error is like below.

ERROR [TaskExecutor-master-716-ProcessTask [PK]] [ActionNode] Error executing ERROR [TaskExecutor-master-716-ProcessTask [PK]] [ActionNode] Error executingjava.lang.IllegalArgumentException: No matching DataLocale for es_mx ( tried [es_mx] on available locales {de=de->de, es=es->es, es_MX=es_MX->es_MX, zh=zh->zh, en=en->en, ja=ja->ja} ) at de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizationService.matchDataLocale(DefaultLocalizationService.java:240) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.internal.i18n.impl.DefaultLocalizationService.getDataLocale(DefaultLocalizationService.java:144) ~[coreserver.jar:?] at de.hybris.platform.servicelayer.i18n.impl.DefaultI18NService.getBestMatchingLocale(DefaultI18NService.java:166) ~[coreserver.jar:?]  at de.hybris.platform.servicelayer.internal.converter.impl.DefaultLocaleProvider.toDataLocale(DefaultLocaleProvider.java:58) ~[coreserver.jar:?]  at de.hybris.platform.servicelayer.model.ItemModelContextImpl.toDataLocale(ItemModelContextImpl.java:508) ~[coreserver.jar:?]  at de.hybris.platform.servicelayer.model.ItemModelContextImpl.getLocalizedValue(ItemModelContextImpl.java:393) ~[coreserver.jar:?]  at de.hybris.platform.core.model.product.ProductModel.getName(ProductModel.java:806) ~[models.jar:?]  at de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderEntryContributor.determineItemShortText(DefaultOrderEntryContributor.java:121) ~[classes/:?]  at de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderEntryContributor.createRows(DefaultOrderEntryContributor.java:92) ~[classes/:?]  at de.hybris.platform.sap.orderexchange.outbound.impl.DefaultOrderEntryContributor.createRows(DefaultOrderEntryContributor.java:1) ~[classes/:?] at de.hybris.platform.sap.sapcpiorderexchange.service.impl.SapCpiOmmOrderConversionService.mapOrderItems(SapCpiOmmOrderConversionService.java:151) ~[classes/:?] at de.hybris.platform.sap.sapcpiorderexchange.service.impl.SapCpiOmmOrderConversionService.lambda$0(SapCpiOmmOrderConversionService.java:77)  at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_191] at de.hybris.platform.sap.sapcpiorderexchange.service.impl.SapCpiOmmOrderConversionService.convertOrderToSapCpiOrder(SapCpiOmmOrderConversionService.java:55) ~[classes/:?]  at de.hybris.platform.sap.sapcpiorderexchange.service.impl.SapCpiOmmOrderMapperService.map(SapCpiOmmOrderMapperService.java:35) ~[classes/:?]  at de.hybris.platform.sap.sapcpiorderexchange.service.impl.SapCpiOmmOrderOutboundConversionService.lambda$0(SapC.piOmmOrderOutboundConversionService.java:38) ~[classes/:?]

***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***


Read more...

Environment

SAP Commerce 2005.5

Product

SAP Commerce Cloud 2005

Keywords

scpi, cpi, outbound , KBA , CEC-COM-ODS , O-Data Services, Integration to SCPI , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.