When trying to schedule a job with GMT Locale and Monthly option, a StackOverflow error is thrown.
STEPS TO REPRODUCE:
Expected Results: Job to be scheduled as expected
Actual Results: Error 500 - Internal Server Error. In the logs we see error Caused by: com.niku.union.service.ServiceException: java.lang.StackOverflowError
ERROR 2024-09-20 12:02:52,659 [http-nio-1623-exec-925] union.service (clarity:xxxxx:xxxxx:nmc.addSchedulerProperties) (a13a30b0-43cf-4693-9823-23d21e0d7f0b) rollback exception
java.lang.StackOverflowError
at java.base/java.util.SimpleTimeZone.getStart(SimpleTimeZone.java:719)
at java.base/java.util.SimpleTimeZone.getOffset(SimpleTimeZone.java:683)
at java.base/java.util.SimpleTimeZone.getOffsets(SimpleTimeZone.java:567)
at java.base/java.util.SimpleTimeZone.getOffset(SimpleTimeZone.java:540)
at java.base/sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:285)
at java.base/sun.util.calendar.ZoneInfo.getOffsets(ZoneInfo.java:228)
at java.base/java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2301)
at java.base/java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2273)
at java.base/java.util.Calendar.setTimeInMillis(Calendar.java:1827)
at java.base/java.util.GregorianCalendar.add(GregorianCalendar.java:1077)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:567)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
at com.niku.njs.JobImpl.nextDay(JobImpl.java:663)
Clarity 16.2.3
DE154134
DE154134, in review by Engineering