[
https://issues.apache.org/jira/browse/PDFBOX-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-3487:
------------------------------------
Affects Version/s: 1.8.13
1.8.12
> ClassCastException in COSWriter.write() when saving PDF
> -------------------------------------------------------
>
> Key: PDFBOX-3487
> URL: https://issues.apache.org/jira/browse/PDFBOX-3487
> Project: PDFBox
> Issue Type: Bug
> Components: Writing
> Affects Versions: 1.8.12, 1.8.13, 2.0.2, 2.0.3, 2.1.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.13, 2.0.3, 2.1.0
>
>
> {code}
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.pdfbox.cos.COSInteger cannot be cast to
> org.apache.pdfbox.cos.COSArray
> at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1349)
> at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1287)
> at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1160)
> at pdfboxpageimageextraction.LoadSave.main(LoadSave.java:22)
> {code}
> The cause is a bad /ID, that isn't an array.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]