Ive been experimenting with a pdf box 2.0 and i seem to be getting stuck at the very beginning. The basic
PDDocument document = PDDocument.load(sourceFile);
Seems to be causing issues. The PDDocument object is created but everything inside of it seems to be null, like documentCatalog, documentId, pageMap... This works perfectly fine on 1.8.9, with the same document ive been trying to load into 2.0.
Has anyone got any ideas? Should do some manual configuration of pdf box?
Thanks