Opening and Saving PPTX Causes: "Value Cannot Be Null. Parameter Name: Encoder"

Hi

Just opening and saving the PPTX to another file causes error in subject:

Seems slide mask is involved !

Thank you.

here is file:

here is code:

using (var stream = new FileStream(ppt, FileMode.Open))
{
    var presentation = new Aspose.Slides.Presentation(stream, loadOptions);
    try
    {
        WriteLog("Saving PowerPoint: " + outPpt, LogType.info);
        presentation.Save(outPpt, Aspose.Slides.Export.SaveFormat.Pptx);
        WriteLog("PowerPoint saved !", LogType.success);
    }
    catch (Exception ex)
    {
        WriteLog("NormalizingPPT error saving pptx: " + ex.Message, LogType.error);
    }
}

@pcaillol,
I reproduced the same error when saving the PowerPoint presentation.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-43796

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Please share the following additional information:

  • OS version on which the exception occurred
  • .NET target platform in your app

Great !
win10 .net 4.7
thank you

@pcaillol,
Thank you for the additional information. I forwarded it to our developers.

Wonderful ! thanks.

The issues you found earlier (filed as SLIDESNET-43796) have been fixed in Aspose.Slides for .NET 23.6 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.