SAP Knowledge Base Article - Preview

2589689 - Class Cast Exception on Promotion Module

Symptom

Whenever there is a promotion configuration in which two RAO objects have the same code, for example (promotion code and rule group code ) or (category code in condition and promotion code), these objects are considered as equal which causes class cast exception in promotion module during its publication. Although the status will be 'Published', the promotion will not fire and any further attempt to publish another promotion will also fail with the same symptom, until the server is restarted.

ERROR [Thread-483] [DefaultRuleEngineKieModuleSwapper] Drools Engine Service initialization Exception occured {}
 java.lang.ClassCastException: de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD cannot be cast to de.hybris.platform.ruleengineservices.rrd.RuleGroupExecutionRRD
at de.hybris.platform.ruleengineservices.rrd.RuleGroupExecutionRRD.equals(RuleGroupExecutionRRD.java:78) ~[models.jar:?]


Read more...

Environment

hybris Commerce Suite versions 6.3, 6.4, 6.5, 6.6

Product

SAP Hybris Commerce 6.3 ; SAP Hybris Commerce 6.4 ; SAP Hybris Commerce 6.5 ; SAP Hybris Commerce 6.6

Keywords

  • Rule Engine
  • ruleengine
  • ruleengineservices
  • drools
  • droolsrule
  • newpromotionsengine
, KBA , CEC-COM-CPS , SAP Commerce , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.