SAP Knowledge Base Article - Preview

2478663 - Data Hub Composition of Raw Item without any attributes fails - NullPointerException is thrown

Symptom

When there is a Raw Item which doesn't contain any attributes the composition processed on this "empty" Raw Item fails and following error is thrown:

[DataHubActorSystem-akka.actor.default-dispatcher-17] [akka://DataHubActorSystem/user/$k/raw-type-composer0] Failed to convert from com.hybris.datahub.domain.jpa.entities.ManagedRawItemEntity@44f0b to RawItem
com.hybris.datahub.conversion.base.ConversionException: Failed to convert from com.hybris.datahub.domain.jpa.entities.ManagedRawItemEntity@44f0b to RawItem
                at com.hybris.datahub.repository.converter.RawItemConverter.toRawItem(RawItemConverter.java:71)
                ...
Caused by: java.lang.NullPointerException
                at com.hybris.datahub.model.BaseDataItem.setFields(BaseDataItem.java:194)
                at com.hybris.datahub.repository.converter.RawItemConverter.toRawItem(RawItemConverter.java:65)
                ... 34 more


Read more...

Environment

Data Hub 6.0

Product

SAP Hybris Commerce 6.0

Keywords

Data Hub, composition , KBA , CEC-COM-HUB , SAP Commerce Data Hub , Problem

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.