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 2016/03/03 20:29:18 UTC

[jira] [Resolved] (PDFBOX-3259) ClassCastException in PDTilingPattern.getContents

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

Tilman Hausherr resolved PDFBOX-3259.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 2.0.0
                   1.8.12

> ClassCastException in PDTilingPattern.getContents
> -------------------------------------------------
>
>                 Key: PDFBOX-3259
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3259
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel, Preflight
>    Affects Versions: 1.8.11, 1.8.12, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.12, 2.0.0
>
>         Attachments: PDFBOX-3259.pdf
>
>
> {code}
> Exception in thread "main" java.lang.ClassCastException: org.apache.pdfbox.cos.COSDictionary cannot be cast to org.apache.pdfbox.cos.COSStream
>         at org.apache.pdfbox.pdmodel.graphics.pattern.PDTilingPattern.getContents(PDTilingPattern.java:160)
>         at org.apache.pdfbox.pdfparser.PDFStreamParser.<init>(PDFStreamParser.java:92)
> {code}
> The file has a COSDictionary instead of a COSStream in a tiling pattern.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org