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

NPE in PDTrueTypeFont.extractCMaps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.10, 1.8.11
    • 1.8.11
    • PDModel
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: