Help Debugging Errors

Hello,


Occassionly we get errors in aspose with a call stack which looks like this:

at . (Table )
at . ()
at . ()
at . ()
at . (Node , )
at . (Cell )
at . (Cell , )
at . ()
at . ()
at . ()
at Aspose.Words.Tables.Table. ()
at ​ . (Table )
at .VisitTableStart(Table )

The error is Object reference not set to an instance of an object.

There is to much code accorss to many classes to post a example solution online. How can we track down what is happening?

What would cause the above error when we call UpdatePageLayout?

Hi Brandon,

Thanks for your inquiry. Please attach your input Word document and code snippet here for testing. We will investigate the issue on our end and provide you more information.

Best regards,

I figured out why this error was generated. How can i read this error and figure out what happened in my code?

Hi Brandon,


Thanks for your inquiry. It is great you were able to find what you were looking for. Aspose.Words provides the IWarningCallback which can be implemented to receive warnings of potential fidelity loss when loading or saving a document. There are several types of notifications that Aspose.Words will alert the user to using IWarningCallback.
http://www.aspose.com/docs/display/wordsnet/How+to+Receive+Notification+of+Missing+Fonts+and+Font+Substitution+during+Rendering

Best regards,