促销引擎:规则例外执行结果,用于为购物车添加免费礼物

2020-09-06 20:43发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我遇到以下错误,其中Hybris版本为6.2,并且在购物车总值大于一定金额时添加了免费礼物。

错误[hybrisHTTP26] [DefaultCommerceRuleEngineService]规则评估失败,并显示消息"在de.hybris.platform.droolsruleengine中,规则" b865df63-0b80-41f7-b403-45853a047313的规则执行异常的结果":[错误:ruleFreeGiftAction.executeAction(new DefaultDroolsRuleActionContext (变量,kcontext),[" product":" Gift019"," product_uuid":" 70b1c6ce-9626-4801-8956-3b51345c2b5c"," quantity":新整数(1)," quantity_uuid":" 4debb80d-8d1c- 4ca5-be0d-ab65e7c9b17d"]):null] [附近:{...地图变量= [" de.hyb ....}] 行:1,列:1] 在org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)〜[drools-core-6.3.0.Final.jar:6.3.0.Final] 在org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1083)〜[drools-core-6.3.0.Final.jar:6.3.0.Final]

这是我的病情: [{" definitionId":" y_cart_total"," parameters":{" value":{" uuid":" e37b55a0-8bb2-4b00-b2e7-e31c377c1a80"," type":" Map(ItemType(Currency),java。 math.BigDecimal)"," value":{" NZD":14.95}}," operator":{" uuid":" 472facdb-3c23-4ce4-ba02-eb262bf09e84"," type":" Enum(de.hybris .platform.ruledefinitions.AmountOperator)"," value":" GREATER_THAN_OR_EQUAL"}}," children":[]}

这是我的动作: [{" definitionId":" y_free_gift"," parameters":{" product":{" uuid":" 70b1c6ce-9626-4801-8956-3b51345c2b5c"," type":" ItemType(Product)"," value" :" Gift019"}," quantity":{" uuid":" 4debb80d-8d1c-4ca5-be0d-ab65e7c9b17d"," type":" java.lang.Integer"," value":1}}}]

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我遇到以下错误,其中Hybris版本为6.2,并且在购物车总值大于一定金额时添加了免费礼物。

错误[hybrisHTTP26] [DefaultCommerceRuleEngineService]规则评估失败,并显示消息"在de.hybris.platform.droolsruleengine中,规则" b865df63-0b80-41f7-b403-45853a047313的规则执行异常的结果":[错误:ruleFreeGiftAction.executeAction(new DefaultDroolsRuleActionContext (变量,kcontext),[" product":" Gift019"," product_uuid":" 70b1c6ce-9626-4801-8956-3b51345c2b5c"," quantity":新整数(1)," quantity_uuid":" 4debb80d-8d1c- 4ca5-be0d-ab65e7c9b17d"]):null] [附近:{...地图变量= [" de.hyb ....}] 行:1,列:1] 在org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)〜[drools-core-6.3.0.Final.jar:6.3.0.Final] 在org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1083)〜[drools-core-6.3.0.Final.jar:6.3.0.Final]

这是我的病情: [{" definitionId":" y_cart_total"," parameters":{" value":{" uuid":" e37b55a0-8bb2-4b00-b2e7-e31c377c1a80"," type":" Map(ItemType(Currency),java。 math.BigDecimal)"," value":{" NZD":14.95}}," operator":{" uuid":" 472facdb-3c23-4ce4-ba02-eb262bf09e84"," type":" Enum(de.hybris .platform.ruledefinitions.AmountOperator)"," value":" GREATER_THAN_OR_EQUAL"}}," children":[]}

这是我的动作: [{" definitionId":" y_free_gift"," parameters":{" product":{" uuid":" 70b1c6ce-9626-4801-8956-3b51345c2b5c"," type":" ItemType(Product)"," value" :" Gift019"}," quantity":{" uuid":" 4debb80d-8d1c-4ca5-be0d-ab65e7c9b17d"," type":" java.lang.Integer"," value":1}}}]

付费偷看设置
发送
2条回答
Doze时光
1楼-- · 2020-09-06 21:21

您能够解决此问题吗?

CPLASF-自律
2楼-- · 2020-09-06 21:29

您好Deeptesh,

您如何解决此问题? 请帮忙。

一周热门 更多>