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/10/12 13:44:35 UTC

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

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

Tilman Hausherr closed PDFBOX-2335.
-----------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 2.0.0)

No longer happens, even if Zapf Dingbats is not installed.

> 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
>         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)