You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/07/17 20:03:05 UTC

[jira] [Created] (PDFBOX-2215) NPE in PDTrueTypeFont.makeFontDescriptor

Tilman Hausherr created PDFBOX-2215:
---------------------------------------

             Summary: NPE in PDTrueTypeFont.makeFontDescriptor
                 Key: PDFBOX-2215
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2215
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr
         Attachments: PDFBOX-2215-027073.pdf

I get an NPE with the attached file:
{code}
java.lang.NullPointerException
	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.makeFontDescriptor(PDTrueTypeFont.java:337)
	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getFontDescriptor(PDTrueTypeFont.java:150)
	at org.apache.pdfbox.pdmodel.font.PDFont.getFontHeight(PDFont.java:350)
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)