Am 15.01.2016 um 06:26 schrieb Rajesh Adhikari:
Dear Team,

       I have started using your APIs for one my web application project,
but i am facing some issue with this API.
I am storing the uploaded PDF Form in database in the form of BLOB & later
on when i am retrieving the same uploaded PDF in one of my method which
first loads the PDF in PDDocument using PDDocument.load(new
ByteArrayInputStream(byte[])) gives "java.io.IOException: Error:
End-of-File, expected line".

What version are you using?

What is the size of your byte[] ?
What was the size of your PDF before storing it?

What is the full stack trace?

Tilman

PS: next time, use the user mailing list. dev is for developers within the PDFBox project.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to