hi,
I am getting the same exception. have u resolved it. plz share the
answer.
Regards,
shanthakumar
Suneel.Naik wrote:
>
>
> Hi all, I am getting the following exception when populating dynamic
> data using iText API on a PDF document with place holders for dynamic
> data,
>
>
> And getting the following exception.
>
>
>
>
> The code I am using is
>
> AcroFields fields = pdfStamper.getAcroFields();
>
> fields.setFields(fdfReader); (Exception at this line)
>
>
>
>
> java.lang.ClassCastException
>
> at com.lowagie.text.pdf.DocumentFont.<init>(Unknown Source)
>
> at com.lowagie.text.pdf.AcroFields.getAppearance(Unknown Source)
>
> at com.lowagie.text.pdf.AcroFields.setField(Unknown Source)
>
> at com.lowagie.text.pdf.AcroFields.setField(Unknown Source)
>
>
>
>
> Any pointers in this regard would be highly appreciated
>
>
>
>
> Thanks & Regards
>
> Suneel
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of
>
> the intended recipient(s) and may contain confidential and privileged
>
> information.
> If you are not the intended recipient, please contact the sender by
>
> reply e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
>
> printing or copying of this email or any action taken in reliance on this
>
> e-mail is strictly prohibited and may be unlawful.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 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/
>
>
--
View this message in context:
http://www.nabble.com/ClassCast-Exception-when-using-iText-API.-tp16172742p16246314.html
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 2008.
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/