java.lang.Error: Probable fatal error:No fonts found.

Oracle Community | 871512 | 6 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

    Probable fatal error:No fonts found.

    Oracle Community | 6 years ago | 871512
    java.lang.Error: Probable fatal error:No fonts found.

    Root Cause Analysis

    1. java.lang.Error

      Probable fatal error:No fonts found.

      at sun.font.FontManager.getDefaultPhysicalFont()
    2. Java RT
      FontDesignMetrics.<init>
      1. sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:923)
      2. sun.font.CompositeFont.doDeferredInitialisation(CompositeFont.java:239)
      3. sun.font.CompositeFont.getSlotFont(CompositeFont.java:305)
      4. sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:59)
      5. sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:75)
      6. sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:169)
      7. sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:160)
      8. sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:145)
      8 frames
    3. oracle.aurora.awt
      OracleToolkit.getFontMetrics
      1. oracle.aurora.awt.OracleToolkit.getFontMetrics(OracleToolkit.java:297)
      1 frame
    4. Java RT
      JComponent.getFontMetrics
      1. sun.awt.HeadlessToolkit.getFontMetrics(HeadlessToolkit.java:371)
      2. java.awt.Component.getFontMetrics(Component.java:2524)
      3. javax.swing.JComponent.getFontMetrics(JComponent.java:1589)
      3 frames
    5. com.aspose.cells
      Worksheet.autoFitColumns
      1. com.aspose.cells.bJ.c(Unknown Source)
      2. com.aspose.cells.bJ.<init>(Unknown Source)
      3. com.aspose.cells.in.a(Unknown Source)
      4. com.aspose.cells.in.<init>(Unknown Source)
      5. com.aspose.cells.Worksheet.autoFitColumns(Unknown Source)
      5 frames
    6. Unknown
      autofitcolumn.testExcel
      1. autofitcolumn.testExcel(autofitcolumn.java)
      1 frame