SAP Knowledge Base Article - Preview

3055098 - StackOverflowError while publishing promotion or initializing rule engine modules

Symptom

1. There is StackOverflowError when you publish a promotion. The promotion could not be published. Exception as below:

ERROR [RulePublisher-Thread-7944] [KieProject] Unable to build KieBaseModel:promotions-base
Unable to Analyse Expression........

[Error: java.lang.StackOverflowError]
[Near : {... es contains "300938" || baseProductCodes contains "300938" ....}]
[Line: 47, Column: 12] : [Rule name='ded59850-0a77-4e20-8fd3-3aa65c65085d']

2. Sometimes the StackOverflowError will occur when initializing rule engine modules after tenant [master] startup

INFO [AfterSaveEventPublisher-master] [OnTenantStartupProcessor] [AfterSaveEventPublisher-master]: Initializing rule engine modules after tenant [master] startup. Modules to be initialized: promotions-module, promotions-preview-module
ERROR [AfterSaveEventPublisher-master] [KieProject] Unable to build KieBaseModel:promotions-base
Unable to Analyse Expression..........

..........

[Error: java.lang.StackOverflowError]

..........

[Line: 27, Column: 12] : [Query name='rule_3a225bab4d6b4ef18dfffd38e6b7d314_query']


Read more...

Environment

  • COMMERCE 2011
  • COMMERCE 2005
  • COMMERCE 1905
  • COMMERCE 1811

Product

SAP Commerce 1811 ; SAP Commerce 1905 ; SAP Commerce 2005 ; SAP Commerce 2011 ; SAP Commerce 2105

Keywords

StackOverflowError,Promotion,Rule engine,Publish , KBA , CEC-SCC-COM-PRO-PE , Promotion 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.