Skip to Content
0
Mar 14, 2017 at 08:24 AM

Error in calling action strategy

756 Views

Hi Expert,

in custom promotion Strategies are not getting called.

     <property name="key" value="defaultRuleProductPriceQuantityRAOAction" />
     <property name="value" ref="defaultpriceQuantityActionStrategy" />
 </bean>

getting below error

suggest way to handle this

Stack Trace : ERROR [hybrisHTTP38] [DefaultCommerceRuleEngineService] Possible rule-loop detected. Maximum allowed rule matches has been exceeded. Current Limit:10 11:986d721a-ce92-41bf-81c8-ad9c9d82dab6 You can adjust or disable the limit for rule matches by changing the ruleFiringLimit field in the 'Drools Engine Context' object (see the 'Rule Firing Limit' attribute).

ERROR [hybrisHTTP38] [DefaultPromotionEngineService] Possible rule-loop detected. Maximum allowed rule matches has been exceeded. Current Limit:10 11:986d721a-ce92-41bf-81c8-ad9c9d82dab6 You can adjust or disable the limit for rule matches by changing the ruleFiringLimit field in the 'Drools Engine Context' object (see the 'Rule Firing Limit' attribute).

de.hybris.platform.ruleengine.exception.DroolsRuleLoopException: Possible rule-loop detected. Maximum allowed rule matches has been exceeded. Current Limit:10 11:986d721a-ce92-41bf-81c8-ad9c9d82dab6 You can adjust or disable the limit for rule matches by changing the ruleFiringLimit field in the 'Drools Engine Context' object (see the 'Rule Firing Limit' attribute).

     at de.hybris.platform.ruleengine.impl.RuleMatchCountListener.afterMatchFired(RuleMatchCountListener.java:44) ~[ruleengineserver.jar:?]
     at org.drools.core.event.AgendaEventSupport.fireAfterActivationFired(AgendaEventSupport.java:98) ~[drools-core-6.3.0.Final.jar:6.3.0.Final]
     at org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1114) ~[drools-core-6.3.0.Final.jar:6.3.0.Final]
     at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:121) ~[drools-core-6.3.0.Final.jar:6.3.0.Final]
     at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74) ~[drools-core-6.3.0.Final.jar:6.3.0.Final]
     at org.drools.core.common.Default