Tilman Hausherr created PDFBOX-2903:
---------------------------------------
Summary: 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]