Sorry forgot the most important part. I was calling document.getDocumentCatalog().getOutputIntents();
The Version I am using the latest PDFBox 2.0.0-SNAPSHOT Regards, Vadim > Am 23.04.2015 um 20:12 schrieb Tilman Hausherr <[email protected]>: > > What were you doing, and what version were you using? 1.8.10 snapshot or 2.0 > snapshot? > > Tilman > > Am 23.04.2015 um 19:40 schrieb Vadim Bauer: >> Hello everybody, >> >> this issue is similar as the one already reported by me in >> https://issues.apache.org/jira/browse/PDFBOX-2687. >> >> java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast >> to org.apache.pdfbox.cos.COSDictionary >> >> Can someone take a look if its an PDFBox issue or my file? Because the file >> was created with Pdfbox 1.8.8 >> >> https://www.dropbox.com/s/9fpytrdggzehv7s/20120312-Example.pdf?dl=0 >> >> >> >> Regards, >> Vadim >> >> >> >
signature.asc
Description: Message signed with OpenPGP using GPGMail

