点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
在Hybris店面提交订单后,订单从Hybris发送到数据中心,并且在发布阶段失败,并出现以下错误:
后台办公中显示的订单状态为"已检查有效"。
2018-07-30 16:15:01,968 [错误] [DataHubActorSystem-akka.actor.default-dispatcher-77] [chdspiDefaultCanonicalToTargetItemConverterService]无法从CanonicalItem {id ='40591' ,integrationKey ='0000000920',status = SUCCESS,dataPool ='DataHubPoolEntity {id = 9306,name = SAPORDER_OUTBOUND_POOL}',batchId = 0000000920 | HYBRIS | SALESORDER_CREATE,traceId = 04b23ec5-8ad9-368a-a4e2-1732095d5fff,uuid f45d-470d-8405-016f41da9457,documentId = 0000000920,字段='{precedingDocumentId = null,orderId = 0000000920,paymentMode = null,receiverName = null,channel = null,creationDate = 2018-07-29 13:41:22.26,salesOrganization = null,除法= null,cancelReasonDescription = null,maxNumberOfConfigInstances = 0,deliveryMode = standard-gross,purchaseOrderNumber = null,baseStoreUid = ecsstore,currencyIsoCode = EGP,distributionChannel = null,rejectionReason = null,cancelationCode = null}'}
com.hybris.datahub.service.spel.TransformationExpressionException:无法通过表达式@ sapLogicalSystemInfoLookup.getAttributeValue(receiverName,'senderName')进行转换
在com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor.transform(CompilableSpelExpressionProcessor.java:93)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
在com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.populateAttributeFromCanonicalItem(DefaultCanonicalToTargetItemConverterService.java:101)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.lambda $ populateTargetItem $ 0(DefaultCanonicalToTargetItemConverterService.java:89)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
在java.util.stream.ForEachOps $ ForEachOp $ OfRef.accept(未知来源)〜[na:1.8.0_161]
在java.util.stream.ReferencePipeline $ 2 $ 1.accept(未知来源)〜[na:1.8.0_161]
在java.util.HashMap $ KeySpliterator.forEachRemaining(未知来源)〜[na:1.8.0_161]
在java.util.stream.AbstractPipeline.copyInto(未知来源)〜[na:1.8.0_161]
在java.util.stream.AbstractPipeline.wrapAndCopyInto(未知来源)〜[na:1.8.0_161]
在java.util.stream.ForEachOps $ ForEachOp.evaluateSequential(未知来源)〜[na:1.8.0_161]
在java.util.stream.ForEachOps $ ForEachOp $ OfRef.evaluateSequential(未知来源)〜[na:1.8.0_161]
在java.util.stream.AbstractPipeline.evaluate(未知来源)〜[na:1.8.0_161]
在java.util.stream.ReferencePipeline.forEach(未知来源)〜[na:1.8.0_161]
在com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.populateTargetItem(DefaultCanonicalToTargetItemConverterService.java:89)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
在com.hybris.datahub.service.publication.impl.DefaultCanonicalToTargetItemConverterService.convert(DefaultCanonicalToTargetItemConverterService.java:60)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
在sun.reflect.GeneratedMethodAccessor369.invoke(未知来源)〜[na:na]
在sun.reflect.DelegatingMethodAccessorImpl.invoke(未知来源)〜[na:1.8.0_161]
在java.lang.reflect.Method.invoke(未知来源)〜[na:1.8.0_161]
在org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)[spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)上[spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)上[spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.transaction.interceptor.TransactionInterceptor $ 1.proceedWithInvocation(TransactionInterceptor.java:99)[spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)[spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)[spring-aop-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在com.sun.proxy。$ Proxy174.convert(未知来源)[na:na]
com.hybris.datahub.akka.actor.TargetItemCreator.createTargetItem(TargetItemCreator.java:57)[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
在akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:26)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:21)〜[akka-actor_2.11-2.4.14.jar:na]
在scala.PartialFunction $ class.applyOrElse(PartialFunction.scala:123)〜[scala-library-2.11.5.jar:na]
在akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:21)〜[akka-actor_2.11-2.4.14.jar:na]
在scala.PartialFunction $ OrElse.applyOrElse(PartialFunction.scala:170)〜[scala-library-2.11.5.jar:na]
在akka.actor.Actor $ class.aroundReceive(Actor.scala:484)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:47)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.actor.ActorCell.invoke(ActorCell.scala:495)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.dispatch.Mailbox.run(Mailbox.scala:224)〜[akka-actor_2.11-2.4.14.jar:na]
在akka.dispatch.Mailbox.exec(Mailbox.scala:234)〜[akka-actor_2.11-2.4.14.jar:na]
在scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)〜[scala-library-2.11.5.jar:na]
在scala.concurrent.forkjoin.ForkJoinPool $ WorkQueue.runTask(ForkJoinPool.java:1339)〜[scala-library-2.11.5.jar:na]
在scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)〜[scala-library-2.11.5.jar:na]
在scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)〜[scala-library-2.11.5.jar:na]
由以下原因引起:org.springframework.expression.spel.SpelEvaluationException:EL1058E:尝试解析bean'sapLogicalSystemInfoLookup'时出现问题:'无法针对beanFactory解析bean引用'
在org.springframework.expression.spel.ast.BeanReference.getValueInternal(BeanReference.java:59)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:51)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:87)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:262)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在com.hybris.datahub.service.spel.impl.CompilableSpelExpressionProcessor.transform(CompilableSpelExpressionProcessor.java:88)〜[datahub-service-6.6.0.0-RC4.jar:6.6.0.0-RC4]
...省略了42个通用框架
原因:org.springframework.expression.AccessException:无法解析针对BeanFactory的bean引用
在org.springframework.context.expression.BeanFactoryResolver.resolve(BeanFactoryResolver.java:48)〜[spring-context-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.expression.spel.ast.BeanReference.getValueInternal(BeanReference.java:55)〜[spring-expression-4.3.11.RELEASE.jar:4.3.11.RELEASE]
...省略了47个通用框架
原因:org.springframework.beans.factory.NoSuchBeanDefinitionException:没有名为'sapLogicalSystemInfoLookup'的bean
在org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:687)〜[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1207)〜[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)〜[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)〜[spring-beans-4.3.11.RELEASE.jar:4.3.11.RELEASE]
在org.springframework.context.expression.BeanFactoryResolver.resolve(BeanFactoryResolver.java:45)〜[spring-context-4.3.11.RELEASE.jar:4.3.11.RELEASE]
...省略了48个通用框架
任何想法有什么问题?
i将datahub从6.6.0.0-RC6升级到6.6.0.7-RC1,并解决了错误
你好yashwanth
"确保已填充发件人名称的值":我不知道该怎么做,我只能在这里看到发件人名称。正确吗? 你能帮忙吗?
嗨
以上错误指出解析特殊表达式时存在问题。 确保已填充发件人姓名的值
com.hybris.datahub.service.spel.TransformationExpressionException:无法通过表达式@ sapLogicalSystemInfoLookup.getAttributeValue(receiverName,'senderName')
进行转换,我认为问题是不同的。 检查错误之前的行
选中此行:
> EL1058E:尝试解析bean'sapLogicalSystemInfoLookup'时发生问题:'无法针对BeanFactory解析bean引用'
一周热门 更多>