Description
this issue is similar to PDFBOX-2687. I was calling document.getDocumentCatalog().getOutputIntents();
and got a
java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSDictionary
Here is the file where the error occurs the output intent was set with pdfbox 1.8.6/7/8 not sure.
https://www.dropbox.com/s/9fpytrdggzehv7s/20120312-Example.pdf?dl=0