SAP Knowledge Base Article - Preview

2382283 - Unrecognized field "canonicalItemCount" (Class com.hybris.datahub.dto.publication.TargetSystemPublicationData), not marked as ignorable

Symptom

When you login to backoffice (http://localhost:9001/backoffice) and use "Data Hub" perspective, "Quick Upload" widget, try to publish data - you can see stack trace in console:

ERROR [Thread-108] [DefaultWidgetInstanceManager] Error executing asynchronous event:
com.sun.jersey.api.client.ClientHandlerException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "canonicalItemCount" (Class com.hybris.datahub.dto.publication.TargetSystemPublicationData), not marked as ignorable
 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@40c092c4; line: 1, column: 365] (through reference chain: com.hybris.datahub.dto.event.PublicationActionData["targetSystemPublications"]->com.hybris.datahub.dto.publication.TargetSystemPublicationData["canonicalItemCount"])
    at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644)
    at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
    at com.hybris.datahub.client.PublicationClient.triggerExportToCoreSystemAsync(PublicationClient.java:74)
    at com.hybris.datahub.client.PublicationClient.triggerExportToCoreSystem(PublicationClient.java:56)
    at com.hybris.datahubui.presentation.widgets.quickupload.PublishProcessingStrategy.processInternal(PublishProcessingStrategy.java:49)
    at com.hybris.datahubui.presentation.widgets.quickupload.AbstractProcessingStrategy$1.execute(AbstractProcessingStrategy.java:64)
    at com.hybris.cockpitng.engine.impl.DefaultWidgetInstanceManager$2.onEvent(DefaultWidgetInstanceManager.java:290)
    at org.zkoss.zk.ui.event.impl.DesktopEventQueue$AsyncListenerThread.run(DesktopEventQueue.java:207)
Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "canonicalItemCount" (Class com.hybris.datahub.dto.publication.TargetSystemPublicationData), not marked as ignorable
 at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@40c092c4; line: 1, column: 365] (through reference chain: com.hybris.datahub.dto.event.PublicationActionData["targetSystemPublications"]->com.hybris.datahub.dto.publication.TargetSystemPublicationData["canonicalItemCount"])
    at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
    at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
    at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:673)
    at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:659)
    at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1365)
    at org.codehaus.jackson.map.deser.BeanDeserializer._handleUnknown(BeanDeserializer.java:725)
    at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:703)
    at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
    at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)
    at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:194)
    at org.codehaus.jackson.map.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:30)
    at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
    at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:414)
    at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)
    at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
    at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2704)
    at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1315)
    at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(JacksonJsonProvider.java:419)
    at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634)
    ... 7 more

and a popup:

Screen Shot 2016-10-25 at 07.32.01.png


Read more...

Environment

Data Hub 5.7.0.9 or higher

SAP Hybris Commerce 5.7.0.9 or higher

Product

SAP hybris Commerce 5.7

Keywords

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 ONE Support launchpad (Login required).

Search for additional results

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