Skip to Content
0
Former Member
Feb 21, 2017 at 01:37 AM

Failed to convert from com.hybris.datahub.domain.jpa.entities.ManagedRawItemEntity@2b771 to RawItem [V6.2]

83 Views

I am getting below error. There's no error in composition or publication. I don't see any functional impact yet. Any suggestions?

 2017-02-20 23:48:37,502 [ERROR] [a.a.AllForOneStrategy] Failed to convert from com.hybris.datahub.domain.jpa.entities.ManagedRawItemEntity@52697 to RawItem
 
 com.hybris.datahub.conversion.base.ConversionException: Failed to convert from com.hybris.datahub.domain.jpa.entities.ManagedRawItemEntity@52697 to RawItem
  at com.hybris.datahub.repository.converter.RawItemConverter.toRawItem(RawItemConverter.java:73) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_92]
  at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[na:1.8.0_92]
  at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_92]
  at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_92]
  at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_92]
  at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_92]
  at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_92]
  at com.hybris.datahub.repository.jpa.impl.DefaultRawItemJpaRepository.convertQueryResults(DefaultRawItemJpaRepository.java:307) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.repository.jpa.impl.DefaultRawItemJpaRepository.findRawItemsInPool(DefaultRawItemJpaRepository.java:125) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.service.impl.DefaultRawItemService.findInPool(DefaultRawItemService.java:131) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.pooling.PagedCompositionWorkingSet.getNextRawItemPage(PagedCompositionWorkingSet.java:77) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.service.impl.DefaultRawTypeComposerService.lambda$getNextPageWorkingSet$170(DefaultRawTypeComposerService.java:84) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
  at com.hybris.datahub.service.impl.DefaultRawTypeComposerService.getNextPageWorkingSet(DefaultRawTypeComposerService.java:83) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.akka.actor.RawTypeComposer.composeRawType(RawTypeComposer.java:95) ~[datahub-service-akka-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.akka.actor.RawTypeComposer.handleStartComposition(RawTypeComposer.java:81) ~[datahub-service-akka-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26) ~[akka-actor_2.11-2.4.8.jar:na]
  at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21) ~[akka-actor_2.11-2.4.8.jar:na]
  at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) ~[scala-library-2.11.5.jar:na]
  at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21) ~[akka-actor_2.11-2.4.8.jar:na]
  at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) ~[scala-library-2.11.5.jar:na]
  at akka.actor.Actor$class.aroundReceive(Actor.scala:484) ~[akka-actor_2.11-2.4.8.jar:na]
  at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:47) ~[akka-actor_2.11-2.4.8.jar:na]
  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) [akka-actor_2.11-2.4.8.jar:na]
  at akka.actor.ActorCell.invoke(ActorCell.scala:495) [akka-actor_2.11-2.4.8.jar:na]
  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) [akka-actor_2.11-2.4.8.jar:na]
  at akka.dispatch.Mailbox.run(Mailbox.scala:224) [akka-actor_2.11-2.4.8.jar:na]
  at akka.dispatch.Mailbox.exec(Mailbox.scala:234) [akka-actor_2.11-2.4.8.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]
 Caused by: java.lang.NullPointerException: null
  at com.hybris.datahub.model.BaseDataItem.setFields(BaseDataItem.java:185) ~[datahub-api-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  at com.hybris.datahub.repository.converter.RawItemConverter.toRawItem(RawItemConverter.java:67) ~[datahub-service-6.2.0.0-RC4.jar:6.2.0.0-RC4]
  ... 32 common frames omitted