Cannot open presentation in version 19.6 of Aspose.Slides


#1

When testing version of 19.6 of Aspose.Slides we have found an issue that is keeping us from upgrading.

Certain presentations can no longer be opened and instead throws an com.aspose.slides.PptxReadException: Seek not supported exception.

We load our presentations with the following load options:

LoadOptions loadOptions = new LoadOptions();
// improves performance when reading large presentations
loadOptions.getBlobManagementOptions().setPresentationLockingBehavior(PresentationLockingBehavior.KeepLocked);
// allows temporary files to avoid OutOfMemory conditions when presentation have larges blobs
loadOptions.getBlobManagementOptions().setTemporaryFilesAllowed(true);
// sets limit to amount of memory that can be used for blobs before using temporary files
loadOptions.getBlobManagementOptions().setMaxBlobsBytesInMemory(134217728);

Presentation pres = new Presentation(filename, loadOptions);

Here is an example of a presentation that fails to open: testPPT-EmbeddedSimpleFiles.pptx.zip (142.8 KB)

This works in older versions of Aspose.Slides.


#2

@sbd,

I have worked with presentation file shared and have been able to observe the issue. An issue with ID EMAILJAVA-34558 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with issue so that you may be notified once issue will be fixed.