"Object reference not set to an instance of an object"

I’m trialing the Aspose PDF library and receiving the following error:

com.aspose.pdf.internal.ms.System.z107: Object reference not set to an instance of an object.
I’m using a Macbook and the aspose library is deployed on a WebApp using a local GlassFish server (NetBeans)

Any suggestions?

Hi Hayden,


Thanks for contacting support.

Can you please share some details regarding the functionality you are trying to accomplish using our API and also please share

  • If the issue is occurring for any particular file or its appearing for all the documents.
  • Please share the code snippet which you are using.
  • The version of API you are using.

We are sorry for your inconvenience.