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 <[email protected]>: > 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 > >

