[
https://issues.apache.org/jira/browse/PDFBOX-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085462#comment-14085462
]
ASF subversion and git services commented on PDFBOX-2215:
---------------------------------------------------------
Commit 1615823 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1615823 ]
PDFBOX-2215: Improved error message
> NPE in PDTrueTypeFont.makeFontDescriptor
> ----------------------------------------
>
> Key: PDFBOX-2215
> URL: https://issues.apache.org/jira/browse/PDFBOX-2215
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: John Hewson
> Fix For: 2.0.0
>
> 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)