Bug: Aspose throws ArgumentException when encounters invalid theme in .pptx file

We are using Aspose version 6.1.0.0 within our application running on Windows and Mac platforms to convert PowerPoint presentation slide decks into a series of jpeg images that we then present/display from within our application.


Aspose threw an ArgumentException and crashed our app when it was processing an imported PowerPoint presentation and encountered what it apparently considered an invalid background theme for the slide deck. The relevant line from our application error logging gives this information:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> Libronix.Utility.Threading.AsyncWorkException: Unhandled exception in asynchronous work. —> System.ArgumentException: ‘281’ is not a valid value for ‘red’. ‘red’ should be greater or equal to 0 and less than or equal to 255.

I have attached a .pptx file that contains one slide with the offending theme that can trigger the exception.

Hi Mark,


I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-33499 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-33499) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.