SAP Knowledge Base Article - Preview

2589689 - Class Cast Exception on Promotion Module

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

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

SAP Commerce Cloud

SAP Commerce

Product

SAP Commerce Cloud all versions ; SAP Commerce all versions

Keywords

  • Rule Engine
  • ruleengine
  • ruleengineservices
  • drools
  • droolsrule
  • newpromotionsengine
, KBA , CEC-SCC-COM-PRO-RE , Rule Engine , 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.