Cannot Open Specific PPTX in C#: Object Reference Not Set to an Instance of an Object

Hi

Cannot open that PPTX (ticket already open/solved on that file ?):

code:

var ppt_path = "path_to_ppt";
var ppt_out_path = "path_to_ppt_out";
Aspose.Slides.LoadOptions _loadOptions = new Aspose.Slides.LoadOptions()
{
    BlobManagementOptions = new BlobManagementOptions
    {
        PresentationLockingBehavior = PresentationLockingBehavior.KeepLocked,
        IsTemporaryFilesAllowed = true,
        MaxBlobsBytesInMemory = 100 * 1024 * 1024
    }
};
using (var stream = new FileStream(ppt_path, FileMode.Open))
{
    Aspose.Slides.Presentation pres = null;
    try
    {
        pres = new Aspose.Slides.Presentation(stream, _loadOptions);
        Aspose.Slides.Export.SaveFormat ppt_file_aspose_format = GetPresFormat(ppt_path);
        pres.Save(ppt_out_path, ppt_file_aspose_format);
        Console.WriteLine("ok");
    }
    catch (Exception ex)
    {
        Console.WriteLine("ko");
    }
}

win11/4.7/23.4

thanks

@pcaillol,
Thank you for contacting support.

I will check the issue and get back to you as soon as possible.

1 Like

@pcaillol,
I reproduced the same error when loading 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-43951

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.

Thank you so much ! Looking forward to having all my tickets solved. Within 3 weeks possible ?

(some have been opened long time ago and were still under investigation…)

43916
43951
43796
43805
43950
43806
43807
43744
43748/43783

@pcaillol,
SLIDESNET-43916 will be investigated this week
SLIDESNET-43951 is still opened
SLIDESNET-43796 will be investigated next week
SLIDESNET-43805 is still opened
SLIDESNET-43950 will be investigated next week
SLIDESNET-43806 is still opened
SLIDESNET-43807 will be fixed in version 23.5
SLIDESNET-43744 is still opened
SLIDESNET-43748 is still opened
SLIDESNET-43783 is still opened

thank you so much ! looking forward for next update :slight_smile:

@pcaillol,
Thank you for using Aspose.Slides. You will be notified when the issues are resolved.

1 Like

Hope “still opened” cases will be fixed soon… before mid may :slight_smile:

enjoy the rest of your day

@pcaillol,
Our developers will do their best to resolve the issues you are experiencing. Thank you for your patience.

1 Like

No doubt ! thanks to all

The issues you found earlier (filed as SLIDESNET-43951) 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.

1 Like