Troubleshooting 'Font with no name' Error

If you encounter the following in your Ambience/Repertoire Server logs:

04:04:04.404 ERROR com.elixirtech.report2.ReportEngine - doRenderReport RenderException: Error rendering PDF: java.lang.AssertionError: assertion failed: Font with no name
java.lang.AssertionError: assertion failed: Font with no name

com.elixirtech.report2.RenderException: Error rendering PDF: java.lang.AssertionError: assertion failed: Font with no name

  • Check your rml template for any literal, data fields or text elements with no font mappings and assign a default font to its properties:


    E.g. <rml:item name=“TextElement.FontName” value=“”>

  • Ensure all text elements are mapped to a font style.

  • By default the Serif font is mapped to any literal, data fields or text elements during the design and layout creation process:


    E.g. <rml:item name=“TextElement.FontName” value=“Serif”>