ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Status Report Preview Error API-1019 Modern UX Project

book

Article ID: 225441

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

After environment was upgraded to 15.9.3, when going to Modern UX > Project > Status > Preview, the following error appears:
API-1019 : Could not process the error due to internal error

The APP log has error:
ERROR 2021-09-21 18:35:40,396 [https-jsse-nio2-8443-exec-268] ppm.rest (clarity:user:session:PPM_REST_API) Exception processing request for resource [statusReportPublisher], query string [/private/statusReportPublisher]
java.lang.InternalError: java.lang.reflect.InvocationTargetException
at java.desktop/sun.font.FontManagerFactory$1.run(FontManagerFactory.java:86)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.desktop/sun.font.SunFontManager.getInstance(SunFontManager.java:249)
at java.desktop/sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:265)
at java.desktop/sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:251)
at java.desktop/sun.awt.SunToolkit.getFontMetrics(SunToolkit.java:582)
at java.desktop/sun.awt.HeadlessToolkit.getFontMetrics(HeadlessToolkit.java:330)
at org.zefer.font.c.super(Unknown Source)
at org.zefer.font.c.<init>(Unknown Source)
at org.zefer.cache.ResourceCache.getFontMetrics(Unknown Source)
at org.zefer.html.doc.q.Object(Unknown Source)
at org.zefer.html.doc.q.Ö00000(Unknown Source)
at org.zefer.html.doc.w.<init>(Unknown Source)
at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source)
at org.zefer.pd4ml.PD4ML.o00000(Unknown Source)
at org.zefer.pd4ml.PD4ML.render(Unknown Source)
at com.niku.union.utility.PDFGenerator.create(PDFGenerator.java:55)
at com.ca.clarity.projmgr.rest.function.StatusReportPublisherFunctionResource.create(StatusReportPublisherFunctionResource.java:97)



Environment

Linux CentOS 7

Resolution

Install Clarity Fonts

In a case, the fonts should be installed on both the Clarity and Jaspersoft servers

1. Download the file: msttcore-fonts-2.0-3.noarch.rpm
2. Copy to the server /home/<user> directory
3. As root user, run commandL 

rpm -Uvh /home/<user>/msttcore-fonts-2.0-3.noarch.rpm

4. Ensure fonts display correctly by running command:
fc-list
 

Additional Information

Note: If fc-list in not found, install with command:
yum install fontconfig

If the fc-list command does not show the expected list of fonts, then follow the steps:

List where the fonts are supposed to be installed:
rpm -ql msttcore-fonts-2.0-3

If the fonts are not in that directory, remove the rpm and reinstall it:
rpm -e msttcore-fonts-2.0-3
rpm -Uvh /home/<user>/msttcore-fonts-2.0-3.noarch.rpm

Try the fc-list command again.