[
https://issues.apache.org/jira/browse/PDFBOX-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641089#comment-14641089
]
ASF subversion and git services commented on PDFBOX-2903:
---------------------------------------------------------
Commit 1692590 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1692590 ]
PDFBOX-2903: avoid ClassCastException if /Type item is not a COSName
> ClassCastException at PDFParser:667
> -----------------------------------
>
> Key: PDFBOX-2903
> URL: https://issues.apache.org/jira/browse/PDFBOX-2903
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 1.8.10
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.11
>
>
> from "skenny" in the user mailing list:
> I'm using PDFMergerUtility to merge a number of PDF input streams and write
> them to an HTTP response output stream. One of the PDFs is failing at line
> 667 in PDFParser:
> {code}
> final COSName objectType = (COSName)strmObj.getItem( COSName.TYPE );
> {code}
> The result of getItem(COSName.TYPE) is a COSString (value "Metadata") and
> not a COSName.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]