API-1019 Error Displayed When Opening the Status Report in the Modern UX
search cancel

API-1019 Error Displayed When Opening the Status Report in the Modern UX


Article ID: 134834


Updated On:


Clarity PPM On Premise


When opening the Status Report in the Modern UX, the error "API-1019 - Could not process the request due to internal error" is displayed.

When inspecting the app-ca.log, an error like this might appear:

ERROR 2019-06-27 09:29:54,972 [http-nio-1024-exec-162] ppm.rest (clarity:admin:250418113__88D8B6B4-9497-4E9A-8572-9DE1F8FE9AE1: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)



Clarity 15.7 


This issue has been reported as DE49382 but its actually not a defect. A possible cause for this issue is missing libraries in the operating system.


1. Create a new directory somewhere in the filesystem.

2. Create a new file named "Main.java" and paste the following code:

import java.awt.*;
public class Main{
    public static void main(String[] args)
        String fonts[] =
        for ( int i = 0; i < fonts.length; i++ )

3. From the directory that contains the file, compile the Main.java.

javac Main.java

4. If it compiles without errors (it should), run the executable and see if it errors out. Ideally, you should get a list of fonts.

java Main

If you get an error, please review the output, as it might indicate which library is missing. 

  • In RedHat Linux install the packagefontconfig. 
  • After installing the package copy the fonts from the folder …/jdk1.8.0_161/jre/lib/fonts/*  into the folder /usr/share/fonts. - This is beacuse fonts are not supplied with OpenJDK 11 
  • Then build the font information cache file (command:  fc-cache –fv ).