Hi there, I encounter a strange problem when I try to write the a header to activePDF generated pdf file by using PdfStamper. I got a exception when I try to callgetOverContent(1); java.lang.ClassCastException: com.lowagie.text.pdf.PdfNull Any suggestion will be appreciated. http://www.nabble.com/file/p13821269/0244.pdf 0244.pdf Best regards, Tony PS: I list a partial of exception here and attach the pdf file for people who want help me to fix this. ============================================ java.lang.ClassCastException: com.lowagie.text.pdf.PdfNull at com.lowagie.text.pdf.PdfStamperImp$PageStamp.<init>(Unknown Source) at com.lowagie.text.pdf.PdfStamperImp.getPageStamp(Unknown Source) at com.lowagie.text.pdf.PdfStamperImp.getOverContent(Unknown Source) at com.lowagie.text.pdf.PdfStamper.getOverContent(Unknown Source) at com.dmm.webapp.action.ProceedingGenAction.doWriteHF(ProceedingGenActi on.java:322) -- View this message in context: http://www.nabble.com/update-pdf-header-generated-by-ActivePdf-using-PdfStamper-failed-tf4831002.html#a13821269 Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
