Images not present when generating PDFs
search cancel

Images not present when generating PDFs


Article ID: 136621


Updated On:


CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps


After upgrading or installing 3.7.3 or later

When printing/emailing dashboards/reports/context pages, the PDF reports do not show images.

The CSV and web formats show data/images without issues.

Error seen in PCService.log:

INFO  | qtp123456789-1234        | YYYY-MM-DD HH:MM:SS,### | org.apache.fop.apps.FOUserAgent                                  
      | Rendered page ##.
ERROR | qtp123456789-1234        | YYYY-MM-DD HH:MM:SS,### | org.apache.fop.apps.FOUserAgent                                  
      | Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available)
org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null
 at org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(
 at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(
 at org.apache.fop.render.pdf.PDFPainter.drawImage(
 at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(

no charts in emails, charts missing from emails.


Release: All supported releases requiring the fontconfig package


Missing OS package fontconfig or missing the fonts files.


  1. Install fontconfig package if not present. # rpm -qa | grep fontconfig

  2. Or install the fonts if they are not present. The /usr/share/fonts/ directory is empty.
    yum install dejavu-sans-fonts dejavu-fonts-common arphic-ukai-fonts arphic-uming-fonts ipa-ex-mincho-fonts ipa-mincho-fonts ipa-pmincho-fonts xano-mincho-fonts baekmuk-bitmap-fonts baekmuk-ttf-fonts liberation-fonts

    Then run: fc-cache -fv

  3. Restart the console process:

    systemctl restart caperfcenter_console

Additional Information

If you run rpm -qa |grep fontconfig and you find it is installed then run the following command which will list available fonts:


If that command produces no results then fontconfig should be updated with the following command:

yum upgrade fontconfig  

If you run fc-list again you should now see a list of available fonts.  The version of fontconfig that we know works is fontconfig-2.13.0-4.3.el7.x86_64.  After updating fontconfig you should once again restart the console service with the following command for RHEL 7: 

systemctl restart caperfcenter_console

or for RHEL 6.x

/etc/init.d/caperfcenter_console [stop/start