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(ImageManager.java:181)
at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:317)
at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:289)
at org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1312)
...
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.
Then run: fc-cache -fv
If you run rpm -qa |grep fontconfig and you find it is installed then run the following command which will list available fonts:
fc-list
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:
or for RHEL 6.x
/etc/init.d/caperfcenter_console [stop/start]