What error exactly? Are you sure you are passing an accessible path?
For more details about the error codes of the open method, please check:
www.radaeepdf.com/documentation/javadocs...ng-java.lang.String-
For the thumbnail caching, we recommend-if possible- to generate PDFs that have pre-loaded thumbnails using appropriate tools like (Adobe InDesign). as in this case the library will use these thumbs directly.
Or you are going to need to save the thumbnails in cache and do not delete them.
For this you can check:
PDFGridItem.render , here we save in cache the thumbnail of the PDF's first page, you need to do the same but for all the pages.and without deleting them.