Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2987

NPE in PDTrueTypeFont.extractCMaps

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 1.8.11
    • Fix Version/s: 1.8.11
    • Component/s: PDModel
    • Labels:
      None

      Description

      java.lang.NullPointerException: null
      	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.extractCMaps(PDTrueTypeFont.java:792) ~[PDTrueTypeFont.class:na]
      	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getGlyphcode(PDTrueTypeFont.java:698) ~[PDTrueTypeFont.class:na]
      	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getFontWidth(PDTrueTypeFont.java:676) ~[PDTrueTypeFont.class:na]
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.getFontWidth(PDSimpleFont.java:231) ~[PDSimpleFont.class:na]
      	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.getSpaceWidth(PDSimpleFont.java:533) ~[PDSimpleFont.class:na]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: