NullReferenceException in OptimizeResources

Hi Aspose.Pdf team,

I was informed about multiple instances of PDF processing errors. After investigation we found out that OptimizeResources method throws NullReferenceException. Customers are getting very upset because of number of occurrences.

I found similar topic on the forum but it is private. Creating this one to attach sample file and get an update on the issue.

sample.pdf (334.2 KB)

Thanks.

@licenses

Thank you for contacting support.

We have been able to reproduce the issue in our environment. A ticket with ID PDFNET-47068 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.

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