Opening PDF Throws Exception: 2000

When running this code I get an exception:

PdfViewer pdfviewer = new PdfViewer();
pdfviewer.openPdfFile("/path/to/file");

Here’s the exception:

Exception in thread “main” java.lang.Exception: 2000
at com.aspose.pdf.kit.PdfViewer.openPdfFile(Unknown Source)
at com.goengineer.agile.TestPDF.main(TestPDF.java:15)


Attached is the PDF that is throwing the exception.

Hi Keith,


Thanks for your inquiry and sorry for the delayed response. As your problem is related to Aspose.Pdf, I will move your request in Aspose.Pdf forum. My colleagues from Aspose.Pdf component team will answer you shortly.

Best Regards,

Hi Keith,


Thanks for contacting support.

I
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as
PDFKITJAVA-33246. We
will investigate this issue in details and will keep you updated on the status
of a correction.

We
apologize for your inconvenience.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan