Exception: java.lang.NullPointerException: Cannot invoke “com.aspose.pdf.internal.pcl.parser.PCLParser.getOptions()” because the return value of “com.aspose.pdf.internal.pcl.composer.Composer.getParser()” is null

Gotcha, thanks so much for the reply. We are getting a strange exception now, but have our licenses set. The exception occurs when trying to convert a PCL file to PDF.

Exception: java.lang.NullPointerException: Cannot invoke “com.aspose.pdf.internal.pcl.parser.PCLParser.getOptions()” because the return value of “com.aspose.pdf.internal.pcl.composer.Composer.getParser()” is null

We are using aspose-pdf 20.6. Do you know how we can resolve this issue? It works locally, but does not work when deployed.

A post was merged into an existing topic: PCL Load Options null in Deployed Env but not locally