net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'tahoma' is not available to the JVM. See the Javadoc for more details.

Apereo Issues | Dan McCallum | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Today in my local OSX env I'm unable to run a student history report because of this error: {noformat} 17:55:07.988 [http-8080-5] /ssp/api/1/person/0a0f107c-46cf-1d02-8146-cf2c7dc3000e/history/print ERROR n.s.j.engine.fill.JRFillSubreport - Fill 1: exception net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'tahoma' is not available to the JVM. See the Javadoc for more details. at net.sf.jasperreports.engine.util.JRFontUtil.checkAwtFont(JRFontUtil.java:358) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.util.JRStyledText.getAwtAttributedString(JRStyledText.java:228) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:382) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:504) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:593) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:328) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:392) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:351) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2039) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:771) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:301) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:148) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:823) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:656) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205) ~[jasperreports-4.6.0.jar:4.6.0] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_67] {noformat}

    Apereo Issues | 2 years ago | Dan McCallum
    net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'tahoma' is not available to the JVM. See the Javadoc for more details.
  2. 0

    Today in my local OSX env I'm unable to run a student history report because of this error: {noformat} 17:55:07.988 [http-8080-5] /ssp/api/1/person/0a0f107c-46cf-1d02-8146-cf2c7dc3000e/history/print ERROR n.s.j.engine.fill.JRFillSubreport - Fill 1: exception net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'tahoma' is not available to the JVM. See the Javadoc for more details. at net.sf.jasperreports.engine.util.JRFontUtil.checkAwtFont(JRFontUtil.java:358) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.util.JRStyledText.getAwtAttributedString(JRStyledText.java:228) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:382) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:504) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:593) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:328) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:392) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:351) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2039) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:771) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:301) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:148) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:823) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:656) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59) ~[jasperreports-4.6.0.jar:4.6.0] at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205) ~[jasperreports-4.6.0.jar:4.6.0] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_67] {noformat}

    Apereo Issues | 2 years ago | Dan McCallum
    net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'tahoma' is not available to the JVM. See the Javadoc for more details.

    Root Cause Analysis

    1. net.sf.jasperreports.engine.util.JRFontNotFoundException

      Font 'tahoma' is not available to the JVM. See the Javadoc for more details.

      at net.sf.jasperreports.engine.util.JRFontUtil.checkAwtFont()
    2. JasperReports
      JRThreadSubreportRunner.run
      1. net.sf.jasperreports.engine.util.JRFontUtil.checkAwtFont(JRFontUtil.java:358)[jasperreports-4.6.0.jar:4.6.0]
      2. net.sf.jasperreports.engine.util.JRStyledText.getAwtAttributedString(JRStyledText.java:228)[jasperreports-4.6.0.jar:4.6.0]
      3. net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:382)[jasperreports-4.6.0.jar:4.6.0]
      4. net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:504)[jasperreports-4.6.0.jar:4.6.0]
      5. net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:593)[jasperreports-4.6.0.jar:4.6.0]
      6. net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:328)[jasperreports-4.6.0.jar:4.6.0]
      7. net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:392)[jasperreports-4.6.0.jar:4.6.0]
      8. net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:351)[jasperreports-4.6.0.jar:4.6.0]
      9. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2039)[jasperreports-4.6.0.jar:4.6.0]
      10. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:771)[jasperreports-4.6.0.jar:4.6.0]
      11. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:301)[jasperreports-4.6.0.jar:4.6.0]
      12. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:148)[jasperreports-4.6.0.jar:4.6.0]
      13. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:891)[jasperreports-4.6.0.jar:4.6.0]
      14. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:823)[jasperreports-4.6.0.jar:4.6.0]
      15. net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:656)[jasperreports-4.6.0.jar:4.6.0]
      16. net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)[jasperreports-4.6.0.jar:4.6.0]
      17. net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)[jasperreports-4.6.0.jar:4.6.0]
      17 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_67]
      1 frame