java.lang.ArrayIndexOutOfBoundsException in populateBusinessDays during Start Up

Dear Colleagues,

We are using Pega v. PRPC-8.8.3-478

We experience weird behaviour of the ootb Pega function (differenceBetweenDays_080101, wiith the local business calendar) during start up.
Please find our logs attachted.

The exception looks like that:

java.lang.ArrayIndexOutOfBoundsException: Index 4747 out of bounds for length 3287

com.pegarules.generated.testgen.Rule_Decision_DDF_Data_Decision_Request_Customer_DF_ProcessOffer_Action_20220309T160319_477_GMT$12$1.onNext(Rule_Decision_DDF_Data_Decision_Request_Customer_DF_ProcessOffer_Action_20220309T160319_477_GMT.java:680) ~[?:?]

2024-02-01 12:04:28,741 [st], Partitions=[33]] [ STANDARD] (ed.pega_rules_businesscalendar) FATAL - The business calendar object could not be found
2024-02-01 12:04:28,741 [st], Partitions=[55]] [ STANDARD] (ed.pega_rules_businesscalendar) FATAL - The business calendar object could not be found
2024-02-01 12:04:28,741 [st], Partitions=[19]] [ STANDARD] (ed.pega_rules_businesscalendar) FATAL - The business calendar object could not be found
2024-02-01 12:04:28,741 [st], Partitions=[17]] [ STANDARD] (ed.pega_rules_businesscalendar) FATAL - The business calendar object could not be found
2024-02-01 12:04:28,741 [nst], Partitions=[3]] [ STANDARD] (ed.pega_rules_businesscalendar) FATAL - The business calendar object could not be found
2024-02-01 12:04:28,745 [st], Partitions=[19]] [ STANDARD] (sinessCalendar.CalendarUtility) ERROR - Error occured in loading business calendar

I’ve checked similar topics on pdn

  1. Pega 8.5.5. (INC-178923) Pega Platform 8.5.5 Patch Resolved Issues | Support Center?

  2. Pega 8.7. (INC-178923) Pega Platform 8.7 Resolved Issues | Support Center

  3. Pega 8.8.3. (INC-264237) Pega Platform 8.8.3 Patch Resolved Issues | Support Center

However, I’m not sure if they have the same root cause than our problem or differen one.

Another difficulty is that we don’t have the same exception on any other environment than PROD.

I’m looking forward to any information or support on this problem.

Best Regards,

Dmitry

IndexOurOfBoundsException_BusinessCalendar_full.txt (1.85 MB)

IndexOurOfBoundsException_BusinessCalendar_short.txt (5.25 KB)

@dmitry.markov this would be due to BUG-810654

#issue 830751

Calendar Object found after recycle
The Calendar entry was not getting picked properly in production environment after JVM recycle.

Fixed in 8.8.4. Resolved Issues

Please log a support issue via the MSP if you need an in-depth investigation.

Alternatively, please first download HFIX-A969 for 8.8.3 via the MSP if you cannot update to 8.8.4

I can see in INC-B7030 (logged by you on Feburary 19th) that GCS provided you with the hfix on February 29th and you confirmed on March 27th that it resolved your issue.

I will mark my initial answer as the solution so that other users can see the problem was fixed from Pega 8.8.5 onwards.