SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52234: Evaluating a promotion might generate "ERROR: RPP manager run time error when calling odf service to prepare forecast/elasticity/price."

DetailsHotfixAboutRate It

Evaluating a buy-get promotion in SAS® Promotion Optimization might generate the following error in the MerchIntelGridSvr.log file:

2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: 20140123:08.40.07.56: ERROR: RPP manager run time error when calling odf service to prepare forecast/elasticity/price.
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: 20140123:08.40.07.56: 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: ERROR: TKTException code = 2 (Floating point divide by zero)
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/tkmi_exception.c:124
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #4  0x00002b546f4797ec in tkmi_exception_handler (thread=0x133a, 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     ctxt=0x2b546f1ca6ac, code=TKTE_UnknownException)
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/tkmi_exception.c:88
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #5  0x00002b5466b32196 in bktExcept ()
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:    from /apps/marts/sfw/sashome/SASFoundation/9.3/sasexe/tkmk.so
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #6  0x00002b5466b358a5 in bkt_fpe ()
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:    from /apps/marts/sfw/sashome/SASFoundation/9.3/sasexe/tkmk.so
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #7  0x00002b5466b32764 in bkt_signal_handler ()
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:    from /apps/marts/sfw/sashome/SASFoundation/9.3/sasexe/tkmk.so
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #9  0x00002b546f59532d in calc_buy_get (calculated=0x1, this=0x2b546f92d59c, 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     pg=0x0, psp=0xffff, rpp_plan=0x0, opt=...)
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/price_service.c:2482
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #10 0x00002b546f593b5f in set_min_non_stacking_rpp_plan (this=0x1, 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     pg=0x2b546f92d59c, psp=0x0, rpp_plan=0xffff, opt=...)
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/price_service.c:4204
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #11 0x00002b546f591121 in 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: 20140123:08.40.07.56: set_periods_split_ranges (this=0x1, 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     pg=0x2b546f92d59c, periods=0x0, opt=..., prod_hier_assoc_cd=65535)
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/price_service.c:3630
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT: #12 0x00002b546f588a09 in price_service_periods_call (this=0x1, 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     in_pg=0x2b546f92d59c, in_start_dt=0, in_end_dt=65535, opt=..., 
2014-01-23 08:40:09,564 [RequestThread-141566] DEBUG - STDOUT:     is_period_list=0x0, plan_sk=1, candidate_type=-1, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     candidate_value=1706103606.556509)
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/price_service.c:803
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT: #13 0x00002b546f585a69 in price_service_call (this=0x1, in_pg=0x2b546f92d59c, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     in_start_dt=0, in_end_dt=65535, opt=...)
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/price_service.c:896
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT: #14 0x00002b546f4e2df8 in odf_service_scoring_data (odf_arg=0x1, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     mg_est=0x2b546f92d59c, fr=0x0, pgs=0xffff, effective_price=0, weekly=1)
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/odf_scoring_data.c:139
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT: #15 0x00002b546f4f2dd7 in odf_service_run_model_group (odf_arg=0x1, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     pgs=0x2b546f92d59c, like_for_new_item=0x0, like_item_inactive=0xffff, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     like_for_short_item=0x0, like_store_inactive=0x1, proce
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT: 20140123:08.40.07.56: ss_like=0, 
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     fill_default=0, status_filter=1)
2014-01-23 08:40:09,565 [RequestThread-141566] DEBUG - STDOUT:     at /sas/dev/mva-f3ro52/di/src/odf_run_model_group.c:221

This error might also be generated when you evaluate a promotion that overlaps with a buy-get promotion.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Promotion OptimizationMicrosoft® Windows® for x645.2_M35.2_M49.3 TS1M29.3 TS1M2
Linux for x645.2_M35.2_M49.3 TS1M29.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.