Running from Out of Box Report throws error
search cancel

Running from Out of Box Report throws error

book

Article ID: 390548

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

While trying to execute the out of box (OOB) reports resulting in below error.

java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at
java.base/java.lang.Thread.run(Thread.java:840) Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 103; cvc-elt.1.a: Cannot find the declaration of element 'fileResource'. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

The user running above report is having the default language and locale set to Japanese in his/her profile and we are using our own Custom UI theme.

When we try to change the language and locale to English the report runs fine.

Environment

Clarity: 16.2.3, 16.3.1(all versions)

Cause

The error during report execution is due to system inability to find a matching *_dbcs template. In user profile if language is set either to ja,zh,ru,ko we try to look for report style template to match below pattern and it's not found.

/ca_ppm/templates/reportStyleTemplate_" + $P{ppmUserUITheme} +
(OR($P{ppmUserLanguage}.equals("ja"),$P{ppmUserLanguage}.contains("zh"),$P{ppmUserLanguage}.equals("ru"),$P{ppmUserLanguage}.equals("ko"),$P{ppmUserLanguage}.equals("cs")) ? "_dbcs"

Resolution

Import missing template in Jaspersoft.

Workaround:

  • Change the UI theme to Out of Box themes example, Phoenix UI Or change the language in user profile to english.