Hi Anil,

On 27/01/2009, Anil Meesala (HCL Financial Services) <[email protected]>
wrote:
>
>  I am getting the following error,while executing this statement
>
> java.io.IOException: Rebuild failed: trailer not found.; Original message:
> null
> pdfReader = *new* PdfReader(*templateDirName*+pdfTemplate);
>
> where *templateDirName="where my templates are
> there(ex:/export/enterprise-docs/templates")".*
>
> *                pdfTemplate="templatefileName(Ex:BLRCHF.pdf)"*
>

Please provide a standalone java code that reproduces the error. If it
doesn't contain any confidential data, please post the PDF file too.

I'm no PDF specialist, but I would say the culprit is the PDF file. Have you
tried opening it with a PDF viewer? Does it mention the file is corrupted,
and it has to be rebuilt?

Cheers,
alexis
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to