on 2018 May 11 10:35 AM
None of the Promotions (including OOTB) are getting applied . For instance, i have a requirement to apply 'Order Threshold Promotion' to the Cart total and for that i have added products to the cart to obtain cart total greater than 10$ then , the promotion should get applied and we should get $5 discount on cart total . Instead, i am getting the below warning when i click on 'Add To Cart' .
494 | WARN [hybrisHTTP39] [DefaultRuleEngineCacheService] Globals map for evaluation context [promotions-context] is empty. Rules won't be evaluated! INFO | jvm 1 | main | 2018/05/03 23:29:29.594 | INFO [hybrisHTTP39] [AbstractOrderRaoPopulator] Order discount list is empty, skipping the conversion INFO | jvm 1 | main | 2018/05/03 23:29:29.594 | WARN [hybrisHTTP39] [DefaultRuleEngineCacheService] Globals map for evaluation context [promotions-context] is empty. Rules won't be evaluated!
Also, when i try to publish the Promotion from Backoffice , i am getting the below error.
INFO [hybrisHTTP45] [DefaultPlatformRuleEngineService] Notifying other nodes about Kie Container swap started for module [promotions-module] INFO [hybrisHTTP45] [DefaultRuleEngineKieModuleSwapper] swapping started for rule module : promotions-module Exception in thread "RulePublisher-Thread-120" java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)at de.hybris.platform.ruleengine.cache.impl.DefaultKIEModuleCacheBuilder.processRule(DefaultKIEModuleCacheBuilder.java:93)at de.hybris.platform.ruleengineservices.cache.impl.DefaultCommerceKIEModuleCacheBuilder.processRule(DefaultCommerceKIEModuleCacheBuilder.java:52)at de.hybris.platform.ruleengine.init.impl.DefaultRulePublishingSpliterator.addRulesBuilder(DefaultRulePublishingSpliterator.java:161)
Can i get any inputs on how can we resolve these issues?
Request clarification before answering.
Hi,
Search for any more error messages or log entries that may provide more information about the situation that led to the NullPointerException.
DefaultKIEModuleCacheBuilder should be examined: To locate the NullPointerException, look at the DefaultKIEModuleCacheBuilder class's source code. Verify if any objects are being accessed that have not been initialised correctly.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also facing the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we are facing the same issue. any input on how you fixed it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting the same error while publishing the promotion rule. Any solution to fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.