pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruan Sahyoun <sahy...@fileaffairs.de>
Subject Re: pdfbox 1.8 corrupts file
Date Thu, 04 Apr 2013 18:26:48 GMT
Hi,

we are already aware of the issue. Please see PDFBOX-1551.

BR

Maruan Sahyoun

Am 04.04.2013 um 19:50 schrieb Buzzy Spain <bspain@heartflow.com>:

> Hi all,
> 
> I was hoping to upgrade to pdfbox 1.8.0 but all of the documents which I create with
pdfbox appear to be corrupt.  Any help understanding this would be greatly appreciated.
> 
> I have attached the source and result documents.  The example is as simple as I can think
to make it.
> 
> code:  (file paths changed)
> 
>     PDDocument testDoc = PDDocument.load("HelloWorld.pdf");
>     testDoc.save("HelloWorldSaved.pdf");
> 
> When I try to read the result document in acrobat I get an error "The file is damaged
and could not be repaired.".  When opening in evince, I see the text below in the console.
> 
>     Error: PDF file is damaged - attempting to reconstruct xref table...
>     Error: Couldn't find trailer dictionary 
>     Error: Couldn't read xref table
>     Error: PDF file is damaged - attempting to reconstruct xref table...
>     Error: Couldn't find trailer dictionary
>     Error: Couldn't read xref table
> 
> 
> Thanks,
> Buzzy
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message