You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/10 20:28:34 UTC

[jira] [Updated] (PDFBOX-2335) NPE in DictionaryEncoding constructor

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

John Hewson updated PDFBOX-2335:
--------------------------------
    Affects Version/s: 2.0.0

> NPE in DictionaryEncoding constructor
> -------------------------------------
>
>                 Key: PDFBOX-2335
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2335
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2335-203040-p17.pdf
>
>
> I get an NPE with the attached file:
> {code}
> Sep 09, 2014 9:16:57 PM org.apache.pdfbox.pdmodel.font.PDType1Font <init>
> WARNUNG: Using fallback font 'TimesNewRomanPSMT' for 'ZapfDingbats'
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.pdfbox.encoding.DictionaryEncoding.<init>(DictionaryEncoding.java:91)
> 	at org.apache.pdfbox.pdmodel.font.PDSimpleFont.readEncoding(PDSimpleFont.java:126)
> 	at org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:256)
> 	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:65)
> 	at org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:171)
> 	at org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:556)
> 	at org.apache.pdfbox.util.operator.text.SetTextFont.process(SetTextFont.java:48)
> {code}



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