Known issue in generating reports in Linux installation

Known issue in generating reports in Linux installation

Error:

Sorry an error has occurred.




It appears to be an issue related to the fonts. JDK recommends installing the font on the Linux machine. In general, OpenJDK installation packages do not include any font files by default. But automatically use available fonts provided by the Operating System as high-quality TTF files. Hence if the operating system doesn't have fonts it shows this error.

Log trace:

[05:17:33:084]|[05-26-2021]|[SYSERR]|[INFO]|[48]:java.lang.Error: Probable fatal error:No fonts found.|

[05:17:33:085]|[05-26-2021]|[SYSERR]|[INFO]|[48]: at sun.font.SunFontManager.getDefaultPhysicalFont(SunFontManager.java:1236)|

[05:17:33:085]|[05-26-2021]|[SYSERR]|[INFO]|[48]: at sun.font.SunFontManager.initialiseDeferredFont(SunFontManager.java:1106)|

[05:17:33:085]|[05-26-2021]|[SYSERR]|[INFO]|[48]: at sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:287)|

[05:17:33:085]|[05-26-2021]|[SYSERR]|[INFO]|[48]: at sun.font.CompositeFont.getSlotFont(CompositeFont.java:376)|

[05:17:33:085]|[05-26-2021]|[SYSERR]|[INFO]|[48]: at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:82)|

 

Solution :

We recommend you install the fonts on Ubuntu and fix this issue.  

RHEL / Centos:

sudo yum install fontconfig dejavu-sans-fonts dejavu-serif-fonts

or

sudo apt-get install ttf-dejavu

or

yum install dejavu*

and

sudo apt-get install fontconfig
or
yum install fontconfig

And restart the ServiceDesk Plus server, once the server is up, restart the ServiceDesk Plus service. 


Please do a complete Server shutdown (the machine where our application is installed)  (not only application restart) and start once and it will fix the case.


Refer: https://stackoverflow.com/questions/14066525/java-lang-error-probable-fatal-errorno-fonts-found/19355276




                  New to ADSelfService Plus?

                    • Related Articles

                    • Known issue in Reports throwing error in UI

                      Issue - Reports thrown error in UI Trace in Logs. [12:23:37:156]|[02-13-2023]|[SYSERR]|[INFO]|[27512]: Thread Thread[Thread-129,5,main] exited unexpectedly.java.lang.NoClassDefFoundError: Could not initialize class ...
                    • Startup issue in Linux after fresh installation_Error code 10001

                      In certain scenario, the application cannot be started just after the fresh install. Below are the error traces, [06:24:57:427]|[10-11-2021]|[pglog]|[INFO]|[18]: -sh: 1: /root/ManageEngine/ServiceDeskPlus-MSP/pgsql/bin/pg_ctl: Permission denied| ...
                    • Installation and Startup Failure of Postgres Database in some Linux Distributions

                      Log Traces Jul 27, 2023 6:24:49 PM [SYSOUT] [INFO] : /home/sdpuser/ManageEngine/ServiceDesk/pgsql/bin/psql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory Root Cause libtinfo.so is a ...
                    • Linux - Startup issue

                      System Halted error message during startup (Fresh installation)  Error Trace : [16:36:59:243]|[04-15-2021]|[com.adventnet.db.adapter.postgres.DefaultPostgresDBInitializer]|[INFO]|[1]: ErrorStream ::: /opt/MSP/ServiceDeskPlus-MSP/pgsql/bin/psql: error ...
                    • 10.5 Linux Upgrade failure and solutions

                      Traces in logs : 1. java.lang.Exception: InitPgsqlScript exited with value :: 1 at com.adventnet.persistence.PostgresPreProcessor.executeInitPgsqlScript(PostgresPreProcessor.java:1733) 2. PGSQL Permission related errors. 3. SDP MSP installed as root ...