Unable to initialize the pdf document

I am unable to initialize the pdf document. Please find the error in the attached file.

Details are as follows:

  • Language: java

  • Code used:

    com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(docPath);
    

where docPath is the variable storing the documents path.

Java Version:

  1. java version "1.6.0_20"
  2. OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Operation System:

Ubuntu 10.04.2 LTS

Aspose Jars used:

  • aspose-pdf-kit-4.7.0.jar
  • aspose-pdf-4.3.0.jar
  • aspose-pdf-4.3.0-jdk14.jar
    ================================

Hi Irfan,


We are sorry for the delayed response. I am afraid the attachment is missing, please share it again. Moreover, Please use Aspose.Pdf for Java 4.5.0 as we have made some fixes and enhancements in recent releases after 4.3.0 release. Hopefully it will fix the issue.

We are sorry for the inconvenience caused.

Best Regards,