[ 
https://issues.apache.org/jira/browse/PDFBOX-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler updated PDFBOX-1372:
---------------------------------------
    Affects Version/s: 2.0.0

> NullPointerException with loadDescriptorDictionary
> --------------------------------------------------
>
>                 Key: PDFBOX-1372
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1372
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.6.0, 2.0.0
>         Environment: Windows 7, WebLogic 10.3.2, jdk160_14_R27.6.5-32.
>            Reporter: wentao
>         Attachments: CODE128.TTF, FRE3OF9X.TTF, index128.jsp
>
>
> I downloaded a ttf from http://www.jtbarton.com/Barcodes/code128.ttf and 
> tried to use this with pdfbox 1.6.0 in my jsp.
> it returns below error
> java.lang.NullPointerException
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadDescriptorDictionary(PDTrueTypeFont.java:339)
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:164)
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:140)
>       at 
> org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.loadTTF(PDTrueTypeFont.java:127)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to