Skip to Content
0
Former Member
May 20, 2016 at 06:59 PM

Datahub 6.0 - ECC material master load is throwing exception

132 Views

Team,

I have setup hybris 6.0with data hub 6.0 for ECC integration and master dataload but its throwing NullPointerException. I have setup datahub with hybris 6.0 datahub-webapp.war(hybris\bin\ext-integration\datahub\web-app) and added jar files from SAP extension (hybris\bin\ext-integration\datahub\extensions\sap)

java.lang.NullPointerException at com.hybris.datahub.saperpproduct.publication.ProductVariantPublicationHandler.isApplicable(ProductVariantPublicationHandler.java:74)

Please find the data hub log given below

2016-05-20 12:25:18,605 [DEBUG] [c.h.d.s.i.PublicationActionHandler] Creating Target Items for type: 'SalesVariant', and Target System: HybrisCore 2016-05-20 12:25:18,620 [DEBUG] [c.h.d.s.i.DefaultTargetItemService] Creating Target Items for type SalesVariant from 1 Canonical Items in Pool GLOBAL [INFO] [05/20/2016 12:25:18.620] [DataHubActorSystem-akka.actor.default-dispatcher-19] [akka://DataHubActorSystem/user/$h/target-type-items-creator2] Creating target it ems for type SalesVariant and 1 canonical items in Pool GLOBAL [INFO] [05/20/2016 12:25:18.620] [DataHubActorSystem-akka.actor.default-dispatcher-20] [akka://DataHubActorSystem/user/$h/target-type-items-creator3] Creating target it ems for type SalesProduct and 1 canonical items in Pool GLOBAL 2016-05-20 12:25:18,620 [DEBUG] [c.h.d.s.i.DefaultTargetItemService] Creating Target Items for type SalesProduct from 1 Canonical Items in Pool GLOBAL [INFO] [05/20/2016 12:25:18.636] [DataHubActorSystem-akka.actor.default-dispatcher-19] [akka://DataHubActorSystem/user/$h] Creation of target items failed. Notifying p arent 2016-05-20 12:25:18,636 [ERROR] [c.h.d.s.i.AkkaEnabledPublicationActionHandler] Failed to create Target Items page [ERROR] [05/20/2016 12:25:18.636] [DataHubActorSystem-akka.actor.default-dispatcher-19] [akka://DataHubActorSystem/user/$h/target-type-items-creator2] null java.lang.NullPointerException at com.hybris.datahub.saperpproduct.publication.ProductVariantPublicationHandler.isApplicable(ProductVariantPublicationHandler.java:74) at sun.reflect.GeneratedMethodAccessor332.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:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) 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:207) at com.sun.proxy.$Proxy136.isApplicable(Unknown Source) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy.lambda$applyGroupings$140(PublicationGroupingChainRunnerStrategy.java:52) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy$$Lambda$237/34284107.apply(Unknown Source) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)