Caused by: java.io.EOFException
at org.apache.pdfbox.io.ScratchFileBuffer.seek(ScratchFileBuffer.java:302)
at org.apache.pdfbox.pdfparser.COSParser.checkXRefOffset(COSParser.java:1177)
at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:202)