Symptom
When replicating Materials from SAP CRM to SAP Hybris Commerce you can see this exception in logs:
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.hybris.datahub.runtime.domain.jpa.entities.TargetSystemPublicationEntity.errorEntities, could not initialize proxy - no Session
The full stack trace is as follows:
2016-08-02 09:22:11 [DataHubActorSystem-akka.actor.default-dispatcher-32] TRACE c.h.d.a.PublicationGroupingHandlerLogger - Before invoking "group" method in class com.sap.datahub.crm.sapcrmproduct.publication.SalesOrgToProductPublicationHandler WARN: Exception: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor363.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.commons.beanutils.BeanMap.get(BeanMap.java:415) at com.hybris.datahub.conversion.item.ItemBusinessModelToDataPopulator.populate(ItemBusinessModelToDataPopulator.java:110) at com.hybris.datahub.conversion.item.ItemBusinessModelToDataPopulator.populate(ItemBusinessModelToDataPopulator.java:48) at com.hybris.datahub.conversion.base.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:76) at com.hybris.datahub.conversion.base.impl.AbstractPopulatingConverter.convert(AbstractPopulatingConverter.java:60) at com.hybris.datahub.util.ItemLoggingUtils.itemToMap(ItemLoggingUtils.java:92) at com.hybris.datahub.util.ItemLoggingUtils.itemToString(ItemLoggingUtils.java:55) at com.hybris.datahub.aop.PublicationGroupingHandlerLogger.aroundPublicationGroupingAdvice(PublicationGroupingHandlerLogger.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 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:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) 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:207) at com.sun.proxy.$Proxy137.group(Unknown Source) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy.lambda$applyGroupings$142(PublicationGroupingChainRunnerStrategy.java:53) 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) 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.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy.applyGroupings(PublicationGroupingChainRunnerStrategy.java:56) at com.hybris.datahub.service.impl.DefaultTargetItemService.prepareItemsForPublication(DefaultTargetItemService.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy139.prepareItemsForPublication(Unknown Source) at com.hybris.datahub.publication.impl.TargetTypeItemsCreator.handleCreateTargetItems(TargetTypeItemsCreator.java:91) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) at akka.actor.Actor$class.aroundReceive(Actor.scala:480) at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:47) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:525) at akka.actor.ActorCell.invoke(ActorCell.scala:494) 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 scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.hybris.datahub.domain.jpa.entities.ManagedCanonicalItemEntity.rawItemEntities, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:575) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:214) at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:155) at org.hibernate.collection.internal.PersistentSet.isEmpty(PersistentSet.java:166) at com.hybris.datahub.model.ManagedCanonicalItemDelegate.getRawItems(ManagedCanonicalItemDelegate.java:60) at com.hybris.datahub.model.CanonicalItem.getRawItems(CanonicalItem.java:250) ... 75 more [INFO] [08/02/2016 09:22:11.898] [DataHubActorSystem-akka.actor.default-dispatcher-14] [akka://DataHubActorSystem/user/$d] Creation of target items failed. Notifying parent 2016-08-02 09:22:11 [DataHubActorSystem-akka.actor.default-dispatcher-27] ERROR c.h.d.s.i.AkkaEnabledPublicationActionHandler - Failed to create Target Items page [ERROR] [08/02/2016 09:22:11.900] [DataHubActorSystem-akka.actor.default-dispatcher-27] [akka.dispatch.Dispatcher] Failed to create Target Items for Publication com.hybris.datahub.publication.TargetItemCreationException: Failed to create Target Items for Publication at com.hybris.datahub.service.impl.AkkaEnabledPublicationActionHandler$2.onFailure(AkkaEnabledPublicationActionHandler.java:110) at akka.dispatch.OnFailure.internal(Future.scala:229) at akka.dispatch.OnFailure.internal(Future.scala:228) at akka.dispatch.japi$CallbackBridge.apply(Future.scala:175) at akka.dispatch.japi$CallbackBridge.apply(Future.scala:172) at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) at scala.runtime.AbstractPartialFunction.applyOrElse(AbstractPartialFunction.scala:28) at scala.concurrent.Future$$anonfun$onFailure$1.apply(Future.scala:136) at scala.concurrent.Future$$anonfun$onFailure$1.apply(Future.scala:134) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:399) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2016-08-02 09:22:11 [defaultTaskExecutor-10] ERROR c.h.d.s.i.PublicationActionHandler - Error publishing action: 1 com.hybris.datahub.publication.TargetItemCreationException: Failed to create Target Items for Publication at com.hybris.datahub.service.impl.AkkaEnabledPublicationActionHandler.createPublicationTargetItems(AkkaEnabledPublicationActionHandler.java:78) ~[datahub-service-akka-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.createOnePageOfItemsToPublish(PublicationActionHandler.java:386) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.createItemsToPublishByCanonicalType(PublicationActionHandler.java:272) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.lambda$createTargetItemsForPublications$65(PublicationActionHandler.java:243) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_60] at com.hybris.datahub.service.impl.PublicationActionHandler.createTargetItemsForPublications(PublicationActionHandler.java:242) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.createTargetItemsInMultipleTransactions(PublicationActionHandler.java:214) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.handlePublicationAction(PublicationActionHandler.java:120) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:107) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.PublicationActionHandler.handleAction(PublicationActionHandler.java:80) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.service.impl.DefaultPoolActionQueueConsumer.lambda$null$110(DefaultPoolActionQueueConsumer.java:54) [datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626) ~[na:1.8.0_60] at com.hybris.datahub.service.ExceptionHandlingAsyncTaskExecutor$2.run(ExceptionHandlingAsyncTaskExecutor.java:80) ~[datahub-service-6.0.0.1-RC1.jar:6.0.0.1-RC1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_60] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_60] com.hybris.datahub.publication.TargetItemCreationException: Creation of target items failed at com.hybris.datahub.akka.actor.PageItemsCreationCoordinator.replyWithFailure(PageItemsCreationCoordinator.java:266) ~[datahub-service-akka-6.0.0.1-RC1.jar:6.0.0.1-RC1] at com.hybris.datahub.akka.actor.PageItemsCreationCoordinator.lambda$supervisorStrategy$9(PageItemsCreationCoordinator.java:257) ~[datahub-service-akka-6.0.0.1-RC1.jar:6.0.0.1-RC1] at akka.japi.pf.CaseStatement.apply(CaseStatements.scala:18) ~[akka-actor_2.11-2.4.0.jar:na] at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) ~[scala-library-2.11.5.jar:na] at akka.japi.pf.CaseStatement.applyOrElse(CaseStatements.scala:13) ~[akka-actor_2.11-2.4.0.jar:na] at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) ~[scala-library-2.11.5.jar:na] at akka.actor.SupervisorStrategy.handleFailure(FaultHandling.scala:295) ~[akka-actor_2.11-2.4.0.jar:na] at akka.actor.dungeon.FaultHandling$class.handleFailure(FaultHandling.scala:262) ~[akka-actor_2.11-2.4.0.jar:na] at akka.actor.ActorCell.handleFailure(ActorCell.scala:373) ~[akka-actor_2.11-2.4.0.jar:na] at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:458) ~[akka-actor_2.11-2.4.0.jar:na] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:482) ~[akka-actor_2.11-2.4.0.jar:na] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282) ~[akka-actor_2.11-2.4.0.jar:na] at akka.dispatch.Mailbox.run(Mailbox.scala:223) ~[akka-actor_2.11-2.4.0.jar:na] at akka.dispatch.Mailbox.exec(Mailbox.scala:234) ~[akka-actor_2.11-2.4.0.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) ~[scala-library-2.11.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) ~[scala-library-2.11.5.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) ~[scala-library-2.11.5.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) ~[scala-library-2.11.5.jar:na] 2016-08-02 09:22:11 [defaultTaskExecutor-10] INFO c.h.d.s.i.PublicationActionHandler - Failing publication action: 1 [ERROR] [08/02/2016 09:22:11.902] [DataHubActorSystem-akka.actor.default-dispatcher-14] [akka://DataHubActorSystem/user/$d/target-type-items-creator3] failed to lazily initialize a collection of role: com.hybris.datahub.domain.jpa.entities.ManagedCanonicalItemEntity.publicationStatusEntities, could not initialize proxy - no Session org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.hybris.datahub.domain.jpa.entities.ManagedCanonicalItemEntity.publicationStatusEntities, could not initialize proxy - no Session at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:575) at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:214) at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:155) at org.hibernate.collection.internal.PersistentSet.isEmpty(PersistentSet.java:166) at com.hybris.datahub.conversion.item.ItemBusinessModelToDataPopulator.getAttributeValueData(ItemBusinessModelToDataPopulator.java:155) at com.hybris.datahub.conversion.item.ItemBusinessModelToDataPopulator.populate(ItemBusinessModelToDataPopulator.java:109) at com.hybris.datahub.conversion.item.ItemBusinessModelToDataPopulator.populate(ItemBusinessModelToDataPopulator.java:48) at com.hybris.datahub.conversion.base.impl.AbstractPopulatingConverter.populate(AbstractPopulatingConverter.java:76) at com.hybris.datahub.conversion.base.impl.AbstractPopulatingConverter.convert(AbstractPopulatingConverter.java:60) at com.hybris.datahub.util.ItemLoggingUtils.itemToMap(ItemLoggingUtils.java:92) at com.hybris.datahub.util.ItemLoggingUtils.itemToString(ItemLoggingUtils.java:55) at com.hybris.datahub.aop.PublicationGroupingHandlerLogger.aroundPublicationGroupingAdvice(PublicationGroupingHandlerLogger.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 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:621) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68) 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:207) at com.sun.proxy.$Proxy137.group(Unknown Source) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy.lambda$applyGroupings$142(PublicationGroupingChainRunnerStrategy.java:53) 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) 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.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at com.hybris.datahub.grouping.impl.PublicationGroupingChainRunnerStrategy.applyGroupings(PublicationGroupingChainRunnerStrategy.java:56) at com.hybris.datahub.service.impl.DefaultTargetItemService.prepareItemsForPublication(DefaultTargetItemService.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 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.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy139.prepareItemsForPublication(Unknown Source) at com.hybris.datahub.publication.impl.TargetTypeItemsCreator.handleCreateTargetItems(TargetTypeItemsCreator.java:91) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) at akka.actor.Actor$class.aroundReceive(Actor.scala:480) at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:47) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:525) at akka.actor.ActorCell.invoke(ActorCell.scala:494) 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 scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2016-08-02 09:22:11 [defaultTaskExecutor-10] DEBUG c.h.d.s.p.i.DefaultDataHubPublicationService - setting publication status to FAILURE
Read more...
Environment
SAP Hybris Commerce 6.0
SAP hybris Commerce 5.7
Product
SAP Hybris Commerce 6.0 ; SAP hybris Commerce 5.7
Keywords
KBA , lazyinitializationexception , material replication , CEC-SCC-INT-DHI , Data Hub Integrations , 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.