Hi,

I have a java server whose responsibility is to generate PDF reports by
using FOP 0.20.5. 

Sometimes, I have to generate many reports from a single input XML file so I
have a loop (so no multi-threading here) where, for each iteration, I create
a new temporary file and let FOP render the PDF into it. It turns out that
some of those PDFs are truncated. 

I stumbled upon that bug because I'm trying (by using iText) to merge these
PDFs into a new PDF file. But iText complains and throws an exception
saying: "Rebuild failed: trailer not found.; Original message: PDF startxref
not found."

When I view the PDF files generated by FOP, some of them are "complete" but
some others are truncated: the "startxref" element is missing.

(See uploaded PDF and images for a view of a valid and a truncated PDF
file).

Is this bug already known ? Is there sometimes I should do to avoid this ?

Thanks a lot.

Cheers,

François http://www.nabble.com/file/p11139570/valid-pdf.gif 
http://www.nabble.com/file/p11139570/truncated-pdf.gif 
http://www.nabble.com/file/p11139570/LYT31033.PDF LYT31033.PDF 
-- 
View this message in context: 
http://www.nabble.com/FOP-seems-to-generate-a-truncated-PDF-tf3927904.html#a11139570
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to