发布促销规则时的例外

2020-09-10 14:12发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)大家好, 我们正在将Hybri...

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

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


大家好,

我们正在将Hybris平台从6.3升级到1811。在发布产品级别(productPromotionRuleGroup)促销规则时,出现以下错误,购物车级别促销并未发生这种情况。 请帮忙。

2019-04-04 14:07:26,330 ERROR()()[DefaultRuleCompilerService]捕获了java.lang.NullPointerException异常:de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleParameterValueNormalizerStrategy.lambda $ 0( DefaultRuleParameterValueNormalizerStrategy.java:44)〜[ruleengineservicesserver.jar :?] at de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleParameterValueNormalizerStrategy $$ Lambda $ 1789/180863819.apply(未知来源)〜[?:?] at com .google.common.base.Predicates $ CompositionPredicate.apply(Predicates.java:629)〜[guava-23.0.jar :?]在com.google.common.collect.Iterators.indexOf(Iterators.java:799)〜[ com.google.common.collect.Iterators.any(Iterators.java:688)的guava-23.0.jar :?] []。com.google.common.collect.Iterables.any([guava-23.0.jar :?] Iterables.java:627)com.google.common.collect.Collections2 $ FilteredCollection.isEmpty(Collections2.java:183)〜[guava-23.0.jar :?] com上的[guava-23.0.jar :?]。 google.common.collect.Maps $ AbstractFilter edMap.isEmpty(Maps.java:2836)〜[guava-23.0.jar :?]在com.google.common.collect.Maps $ Values.isEmpty(Maps.java:4098)〜[guava-23.0.jar :? ]在de.hybris.platform.ruleengineservices.rule.strategies.impl.DefaultRuleParameterValueNormalizerStrategy.normalize(DefaultRuleParameterValueNormalizerStrategy.java:47)〜[ruleengineservicesserver.jar :?]在de.hybris.platform.ruleengineservices.compiler.impl.DefaultSourceRSourceNormal (DefaultSourceRuleSourceCodeTranslator.java:147)〜[ruleengineservicesserver.jar :?],位于de.hybris.platform.ruleengineservices.compiler.impl.DefaultSourceRuleSourceCodeTranslator.populateRuleParametersFromConditions(DefaultSourceRuleSourceCodeTranslator.java:116)〜[ruleengineservicesserver.jar :?] .platform.ruleengineservices.compiler.impl.DefaultSourceRuleSourceCodeTranslator.populateRuleParametersFromConditions(DefaultSourceRuleSourceCodeTranslator.java:121)〜[ruleengineservicesserver.jar :?],位于de.hybris.platform.ruleengineservices .compiler.impl.DefaultSourceRuleSourceCodeTranslator.translate(DefaultSourceRuleSourceCodeTranslator.java:67)〜[ruleengineservicesserver.jar :?],位于de.hybris.platform.ruleengineservices.compiler.impl.DefaultRuleCompilerService.compile(DefaultRuleCompilerService.java:83)[ruleengineservicesserver.jar :?] :?],位于de.hybris.platform.ruleengineservices.maintenance.impl.DefaultRuleCompilerSpliterator $ JobProvider.lambda $ 1(DefaultRuleCompilerSpliterator.java:167)[ruleengineservicesserver.jar :?],位于de.hybris.platform.ruleengineservices.maintenance.impl.Default $ JobProvider $$ Lambda $ 1787/124366929.apply(未知源)[ruleengineservicesserver.jar :?]在java.util.stream.ReferencePipeline $ 3 $ 1.accept(未知源)[?:1.8.0_31]在java.util.ArrayList $ ArrayListSpliterator.forEachRemaining(未知源)[?:1.8.0_31]在java.util.stream.AbstractPipeline.copyInto(未知源)[?:1.8.0_31]在java.util.stream.AbstractPipeline.wrapAndCopyInto(未知源) [?:1.8.0_31]在java.u til.stream.ReduceOps $ ReduceOp.evaluateSequential(Unknown Source)[?:1.8.0_31]在java.util.stream.AbstractPipeline.evaluate(Unknown Source)[?:1.8.0_31]在java.util.stream.ReferencePipeline。 在de.hybris处的de.hybris.platform.ruleengineservices.maintenance.impl.DefaultRuleCompilerSpliterator $ JobProvider.lambda $ 0(DefaultRuleCompilerSpliterator.java:168)处收集(Unknown Source)[?:1.8.0_31]。 platform.ruleengineservices.maintenance.impl.DefaultRuleCompilerSpliterator $ JobProvider $$ Lambda $ 1785/1163666422.run(未知源)[ruleengineservicesserver.jar :?]在de.hybris.platform.core.AbstractTenant $ 5.run(AbstractTenant.java:2473) [coreserver.jar :?]在de.hybris.platform.core.TenantAwareThreadFactory $ 1.internalRun(TenantAwareThreadFactory.java:159)[coreserver.jar :?]在de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread .java:134)[coreserver.jar :?] 2019-04-04 14:07:26,333错误()((00001B2K))[DefaultRuleMaintenanceService] e编译完成并出现错误2019-04-04 14:07:26,333 ERROR()((00001B2K))[AbstractRuleEngineJob]捕获到异常-java.lang.NullPointerException:null 2019-04-04 14:07:26,334 INFO()( (00001B2K))[AbstractRuleEngineJob] < strong> * 2019-04-04 14:07:26,334 INFO()((00001B2K))[AbstractRuleEngineJob] RuleEngineCompilePublishJob完成但出现错误