2019 Mar 10 6:24 AM - edited 2024 Feb 04 6:12 AM
Hi Experts,
I am new to datahub and using version 1808, I am getting the below error while processing the ARTMAS06 Idoc via postman-
2019-03-10 09:59:41,396 [INFO] [c.h.d.s.i.DefaultRawTypeComposerService] 0 items found for composition of type RawCOND_A 2019-03-10 09:59:41,422 [INFO] [c.h.d.s.i.DefaultRawTypeComposerService] 42 items found for composition of type RawARTMAS 2019-03-10 09:59:41,559 [WARN] [c.s.r.d.s.t.ArticleUtils] Category with categoryType=026 and categoryID=CP_0111 contains no variant-creating characteristics 2019-03-10 09:59:41,561 [WARN] [c.s.r.d.s.c.g.GenericArticleFilterGroupingHandler] Generic article 1601214_0HGP_ cannot be composed to canonical items. com.sap.retail.datahub.saparticle.exception.InconsistentDataException: No variant attributes for category CP_0111 found! at com.sap.retail.datahub.saparticle.tools.ArticleUtils.getVariantAttributesFromProfile(ArticleUtils.java:333) at com.sap.retail.datahub.saparticle.composition.grouping.GenericArticleFilterGroupingHandler.isInvalid(GenericArticleFilterGroupingHandler.java:130) at com.sap.retail.datahub.saparticle.composition.grouping.GenericArticleFilterGroupingHandler.group(GenericArticleFilterGroupingHandler.java:82) at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:84) at com.hybris.datahub.aop.GroupingHandlerLogger.aroundGroupAdvice(GroupingHandlerLogger.java:41) at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy128.group(Unknown Source) at com.hybris.datahub.akka.actor.grouping.impl.CompositionGroupSplitter.extractGroups(CompositionGroupSplitter.java:98) at com.hybris.datahub.akka.actor.grouping.impl.CompositionGroupSplitter.groupItems(CompositionGroupSplitter.java:71) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) at scala.PartialFunction.applyOrElse(PartialFunction.scala:123) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:122) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) at akka.actor.Actor.aroundReceive(Actor.scala:517) at akka.actor.Actor.aroundReceive$(Actor.scala:515) at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:132) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:527) at akka.actor.ActorCell.invoke(ActorCell.scala:496) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2019-03-10 09:59:41,605 [INFO] [c.h.d.s.i.DefaultRawTypeComposerService] 0 items found for composition of type RawARTMAS 2019-03-10 09:59:41,606 [INFO] [c.h.d.s.i.DefaultRawTypeComposerService] 0 items found for composition of type RawHybrisOrderCancelRequest 2019-03-10 09:59:41,607 [INFO] [c.h.d.s.i.DefaultRawTypeComposerService] 0 items found for composition of type RawDEBMAS 2019-03-10 09:59:41,608 [DEBUG] [c.h.d.s.c.i.AkkaEnabledCompositionActionHandler] Entering handleCompositionSuccess 2019-03-10 09:59:41,613 [DEBUG] [c.h.d.p.i.DefaultProcessMonitor] Unregistered Composition #2, 1 processes running
Please let me know if I am missing something.
Thanks
Request clarification before answering.
The issue was CP_0111 category is not replicated to hybris. Go to bd92 and replicated the CP_0111 class into hybris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I understood the problem, data-hub is expecting a product variant whereas your iDOC has a base product.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.