Hey

I am trying to create a PDDocument and fill it with data from a pdf that I get 
over an API as a byte array.

When I try to execute the following command: “PDDocument pdfDocument = new 
PDDocument().load(byteArray);” I always get an java.io.IOException: Error: 
End-of-File Error and I don’t know why. I tried different pdf files but none 
worked. Does anybody know this issue or can help me?

Greets

Simon

Simon Baumeler | Informatiker Applikationsentwickler EFZ | Junior Software 
Engineer
[id:5BC4E55C-070F-4D42-8D1C-BBD4BE51B72C]

FORMS YOUR DIGITAL PROCESS
ajila ag | Centralstrasse 8b | CH-6210 Sursee
T +41 41 555 52 49 | M +41 76 417 04 34
simon.baume...@ajila.com<mailto:simon.baume...@ajila.com> | 
www.ajila.com<http://www.ajila.com>

Reply via email to