Tilman Hausherr created PDFBOX-2767: ---------------------------------------
Summary: ClassCastException in PDDocument.addSignature Key: PDFBOX-2767 URL: https://issues.apache.org/jira/browse/PDFBOX-2767 Project: PDFBox Issue Type: Bug Components: Signing Affects Versions: 1.8.9, 1.8.10, 2.0.0 Reporter: Tilman Hausherr Assignee: Tilman Hausherr Fix For: 1.8.10, 2.0.0 As reported here in 2013: http://stackoverflow.com/questions/17452869/pdfbox-add-visual-signature-cosobject-cast-error {code} Exception in thread "main" java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast to org.apache.pdfbox.cos.COSDictionary at org.apache.pdfbox.pdmodel.PDDocument.addSignature(PDDocument.java:474) {code} The cause is explained in the answer by [~mkl], our code fails with an indirect object. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org