Exception"Bad state" while loading presentation using Aspose.Slides for Java

We’re running into a problem loading a specific presentation with Aspose.Slides.

Here is code we use to load the presentation:

        try {
            Presentation doc = new Presentation(filename);

            PdfOptions options = new PdfOptions();
            options.setWarningCallback(new WarningCallback());
            doc.save(outputFilename, SaveFormat.Pdf, options);
        }catch(Exception e){
            System.out.println(e.getMessage());
        }

When we load the presentation we get the following exception: Bad state (invalid stored block lengths).

Here is the presentation we try to load: nasa.ppt.zip (166.2 KB) and here is the sample code: Archive.zip (638.5 KB). The readme file describes how to build and run the code.

@sbd,

I have worked with the presentation shared by you using Aspose.Slides for Java 18.11.0 and have been able to observe the issue. A ticket with ID SLIDESJAVA-37418 has been added in our issue tracking system to resolve the issue. This thread has been associated with the ticket so that we share notification with you once issue will be fixed.

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