[
https://issues.apache.org/jira/browse/PDFBOX-3490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-3490:
------------------------------------
Attachment: PDFJS-2099.pdf
> NullPointerException in PDType1Font.generateBoundingBox
> -------------------------------------------------------
>
> Key: PDFBOX-3490
> URL: https://issues.apache.org/jira/browse/PDFBOX-3490
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.2, 2.0.3, 2.1.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.3, 2.1.0
>
> Attachments: PDFJS-2099.pdf
>
>
> {code}
> Caused by: java.lang.NullPointerException: null
>
> org.apache.pdfbox.pdmodel.font.PDType1Font.generateBoundingBox(PDType1Font.java:519)
>
> org.apache.pdfbox.pdmodel.font.PDType1Font.getBoundingBox(PDType1Font.java:509)
>
> org.apache.pdfbox.text.LegacyPDFStreamEngine.showGlyph(LegacyPDFStreamEngine.java:162)
>
> org.apache.pdfbox.contentstream.PDFStreamEngine.showText(PDFStreamEngine.java:715)
> {code}
> The cause is an empty font descriptor and a missing check for null. I'll add
> the check at other places too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]