We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com


When I tried to flatten the attached PDF file (call the Flatten() function) an exception is thrown.

e-sec.corp/tali message:System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Pdf.Document.:clubs:???()
at Aspose.Pdf.Document.Flatten()

Please advise

Hi Oren,

Thanks for using our API’s.

I have tested the scenario and have managed to reproduce same problem. For the sake of correction, I have logged it as PDFNET-41477 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Hi Guys,
Any updates on this or an eta? do you think the issue would be addressed in this millennia?



Thank you for getting back to us.

We are afraid this ticket is still pending owing to previously logged and critical issues. We have increased its priority to next level and will schedule it soon. We really appreciate your patience and comprehension in this regard.

The issues you have found earlier (filed as PDFNET-41477) have been fixed in Aspose.PDF for .NET 22.3.