[ https://issues.apache.org/jira/browse/PDFBOX-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-2550. ------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 1.8.9 > ClassCastException in PDAnnotation.getColour > -------------------------------------------- > > Key: PDFBOX-2550 > URL: https://issues.apache.org/jira/browse/PDFBOX-2550 > Project: PDFBox > Issue Type: Bug > Components: Parsing > Affects Versions: 1.8.8, 2.0.0 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Labels: Annotations > Fix For: 1.8.9, 2.0.0 > > Attachments: 176622.pdf > > > {code} > java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast > to org.apache.pdfbox.cos.COSArray > at > org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation.getColour(PDAnnotation.java:644) > at > org.apache.pdfbox.preflight.annotation.AnnotationValidator.checkColors(AnnotationValidator.java:134) > {code} > The cause is this: > {code} > /C 19 0 R > {code} > The current code doesn't expect it to be an indirect object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)