MUX Reporting: API-1019 error when opening a report with some user locales
search cancel

MUX Reporting: API-1019 error when opening a report with some user locales

book

Article ID: 402140

calendar_today

Updated On: 07-21-2025

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When using user locales not linked to supported languages, the MUX Reporting reports load, but you get an API-1019 error
 

Steps to Reproduce:

  1. Login to Clarity with Report Workspace Administrator right 
  2. Navigate to MUX--> Create any report having date fields using the data provider and publish it 
  3. Now create or use any existing user and set Locale as  Catalan, Danish, Norwegian, Albanian, Greek (Except supported languages associated with locale, check section International Support
  4. Logout and Navigate to MUX --> Reporting Workspace --> Open the published report created 

Expected Results: Reports should be loading without errors

Actual Results: Report loads with error: API-1019 : Could not process the request due to internal error and below error logs can be seen in appca.log 

ERROR 2025-06-25 01:13:52,812 [http-nio-1632-exec-165] ppm.rest (clarity:myuser:mysession:PPM_REST_API) (XXXX-XXX-XXX-XXX-XXXX) Exception processing request for resource [calendarPeriods], query string [/private/calendarPeriods?fields=startDate%2CendDate%2Ctype%2CperiodName&filter=%28%28startDate%20=%20%272020-01-01T00%3A00%3A00%27%29%20and%20%28numPeriods%20=%20500%29%20and%20%28type%20=%20YEARS%29%29&limit=500&sort=startDate]
java.lang.NullPointerException: Cannot invoke "java.util.Map.isEmpty()" because "dateFormatPatterns" is null
at com.ca.clarity.calendar.rest.CalendarPeriodsFunction.getPatternForLocaleAndPeriodType(CalendarPeriodsFunction.java:153)
at com.ca.clarity.calendar.rest.CalendarPeriodsFunction.getPc(CalendarPeriodsFunction.java:92)

Environment

Clarity 16.3.2

Cause

This is caused by DE172243

Resolution

This is fixed in Clarity 16.3.3

Workaround: Change the locale to supported associated languages check section International Support