SAP Knowledge Base Article - Preview

2575299 - Intermitent IllegalStateException thrown by OnTenantStartupProcessor.activateRulesModules during platform startup

Symptom

 Sometimes, an IllegalStateException is thrown in OnTenantStartupProcessor.activateRulesModules()

[m[32mINFO  [BatchSelfHealingItemsRunner] [OnTenantStartupProcessor] System is initialised, tenantId=[master]
INFO   | jvm 1    | main    | 2017/01/19 08:17:04.367 | [m[33mWARN  [BatchSelfHealingItemsRunner] [JaloSession] Jalo session (s195852337853312) has been created in context of tenant <<master>> which since that has been initialized/updated - session is not adequate anymore (1484813824184<>1484813824190)
INFO   | jvm 1    | main    | 2017/01/19 08:17:04.367 | [mUnknown error notifying listener de.hybris.platform.ruleengine.event.OnTenantStartupProcessor$1@26fa5045 on tenant master startup : The session s195852337853312 being activated is stale its origin tenant has been initialized or updated since the session was created
INFO   | jvm 1    | main    | 2017/01/19 08:17:04.367 | java.lang.IllegalStateException: The session s195852337853312 being activated is stale its origin tenant has been initialized or updated since the session was created
INFO   | jvm 1    | main    | 2017/01/19 08:17:04.367 |     at de.hybris.platform.jalo.JaloSession.activate(JaloSession.java:718)

And after the server is up, promotions rule evaluation fails:

[m[1;31mERROR [ajp-bio-8010-exec-2] [10.16.121.222] [DefaultPlatformRuleEngineService] BSRO_EXCEPTION_HIGH_RULE_ENGINE - null
INFO   | jvm 1    | main    | 2017/01/19 08:51:11.179 | [m java.lang.NullPointerException
INFO   | jvm 1    | main    | 2017/01/19 08:51:11.179 |     at de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.evaluate(DefaultPromotionEngineService.java:149) [promotionengineservicesserver.jar:?]
INFO   | jvm 1    | main    | 2017/01/19 08:51:11.179 |     at de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.updatePromotionsNotThreadSafe(DefaultPromotionEngineService.java:310) [promotionengineservicesserver.jar:?]

This error can be show too:

ERROR [ajp-bio-8010-exec-2] [10.16.121.222] [DefaultCommerceRuleEngineService] BSRO_EXCEPTION_HIGH_RULE_ENGINE - Rule evaluation failed with message 'null' for facts: [de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@21389d3f[entryNumber=6,product=,7075078,quantity=4,basePrice=2.5,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@73e78e30[entryNumber=5,product=,7008190,quantity=4,basePrice=2.99,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.ProductRAO@2fb98fdc[code=7008190], de.hybris.platform.ruleengineservices.rao.WebsiteGroupRAO@80e9a028, de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@18ac210b[entryNumber=7,product=,2811,quantity=4,basePrice=88.99,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@7d188644[entryNumber=2,product=,7001119,quantity=4,basePrice=0.0,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@324101d9[entryNumber=1,product=,7074810,quantity=1,basePrice=0.0,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@51e5af22[entryNumber=4,product=,7006731,quantity=4,basePrice=7.0,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.ProductRAO@28b8786c[code=7013632], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@11abe199[entryNumber=3,product=,7013632,quantity=4,basePrice=11.99,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.ProductRAO@2bde75bc[code=7015016], de.hybris.platform.ruleengineservices.rao.ProductRAO@573e435a[code=7074810], de.hybris.platform.ruleengineservices.rao.OrderEntryRAO@3c2e3ac9[entryNumber=0,product=,7015016,quantity=4,basePrice=0.0,currency=USD,discountValues=<null>], de.hybris.platform.ruleengineservices.rao.ProductRAO@7247a3fc[code=2811], de.hybris.platform.ruleengineservices.rao.ProductRAO@2a6c4b9d[code=7001119], de.hybris.platform.ruleengineservices.rao.ProductRAO@f6df919[code=7075078], de.hybris.platform.ruleengineservices.rao.CartRAO@4258724f[code=10430399], de.hybris.platform.ruleengineservices.rao.UserRAO@831476e2, de.hybris.platform.ruleengineservices.rao.ProductRAO@d4f71bb[code=7006731], de.hybris.platform.ruleengineservices.rao.UserGroupRAO@80aab3d6, de.hybris.platform.ruleengineservices.rao.CategoryRAO@4537f32c[code=TTEMK], de.hybris.platform.ruleengineservices.rao.RuleEngineResultRAO@4744a590, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@25579bf2, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@3103e34b, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@212f5964, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@3ca6be2d, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@69e656a9, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@1869a5bb, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@289265a0, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@532a1018, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@19de48ca, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@46197f4d, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@7d1dbd4b, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@2cc1b91b, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@6430598d, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@739a2664, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@6412dcad, de.hybris.platform.ruleengineservices.rrd.RuleConfigurationRRD@4cc6a439, de.hybris.platform.ruleengineservices.rrd.RuleGroupExecutionRRD@25f27fa2[code=productPromotionRuleGroup]].
INFO   | jvm 1    | main    | 2017/01/19 08:51:11.181 | [m java.lang.NullPointerException
INFO   | jvm 1    | main    | 2017/01/19 08:51:11.181 |     at de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineService.evaluate(DefaultPromotionEngineService.java:149) [promotionengineservicesserver.jar:?]


Read more...

Product

SAP Hybris Commerce 6.0 ; SAP Hybris Commerce 6.1

Keywords

newpromotionsengine , KBA , CEC-SCC-PLA-PL , Platform , 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.