Works correctly with the latest iText.

Paulo

----- Original Message ----- 
From: "tonylu880042" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, November 18, 2007 10:16 PM
Subject: [iText-questions] update pdf header generated by ActivePdf using 
PdfStamper failed


>
> 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)


-------------------------------------------------------------------------
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/

Reply via email to