Douwe Siegersma Member Licensed User Longtime User Mar 2, 2022 #1 Hello, I'm getting a Null exeption error on this line. glDoc = pdf.newDocument(File.DirInternal,"Crypto.pdf", 268435456,"") Click to expand... glDoc is opened and I do a File.exist on "Crypto.pdf" I'm using the PDFium library of DonManfred. The complete error message is: java.lang.NullPointerException: Attempt to invoke virtual method 'com.shockwave.pdfium.PdfDocument com.shockwave.pdfium.PdfiumCore.newDocument(android.os.ParcelFileDescriptor)' on a null object reference
Hello, I'm getting a Null exeption error on this line. glDoc = pdf.newDocument(File.DirInternal,"Crypto.pdf", 268435456,"") Click to expand... glDoc is opened and I do a File.exist on "Crypto.pdf" I'm using the PDFium library of DonManfred. The complete error message is: java.lang.NullPointerException: Attempt to invoke virtual method 'com.shockwave.pdfium.PdfDocument com.shockwave.pdfium.PdfiumCore.newDocument(android.os.ParcelFileDescriptor)' on a null object reference