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/12/03 19:45:12 UTC

[jira] [Updated] (PDFBOX-2540) ArrayIndexOutOfBoundsException in Type1Parser.parseASCII

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

Tilman Hausherr updated PDFBOX-2540:
------------------------------------
    Priority: Minor  (was: Major)

> ArrayIndexOutOfBoundsException in Type1Parser.parseASCII
> --------------------------------------------------------
>
>                 Key: PDFBOX-2540
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2540
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> I get this with the file 451024.pdf:
> {code}
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
>         at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:76)
>         at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
> {code}
> The cause is an empty /FontFile and the failure to expect this, the fix is easy.



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