Hi All,

I am trying to sign a pdf document invisibly but getting the following
exception;

java.lang.ArrayIndexOutOfBoundsException: 7
 at com.lowagie.text.pdf.PdfWriter.setPdfVersion(PdfWriter.java:1854)
 at com.lowagie.text.pdf.PdfWriter.setFullCompression(PdfWriter.java:2250)
 at com.lowagie.text.pdf.PdfStamperImp.<init>(PdfStamperImp.java:128)
 at com.lowagie.text.pdf.PdfStamper.<init>(PdfStamper.java:120)
 at com.lowagie.text.pdf.PdfStamper.createSignature(PdfStamper.java:505)
 at SignPDF.signingPDF(SignPDF.java:92)
 at SignPDF.signPDF(SignPDF.java:65)
 at SignPDF.main(SignPDF.java:30)

See attached pdf which I tested. I have tried iText 145 as well as iText 149
but both failed. Is the pdf document OK, seems OK in adobe Acrobat

Regards,
Wahaj





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to