We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

File could not be loaded by library

Using Aspose.Slides for Java 16.10.0.

On attempt to load file exception is thrown. File is attached.
Code snippet is straightforward:

License license = new License();
license.setLicense(“Aspose.Total.Java.lic”);
Presentation pptxPresentation = new Presentation(INPUT_FOLDER + “test.pptx”);
pptxPresentation.save(INPUT_FOLDER + “saved.pptx”, SaveFormat.Pptx);

Exception is below:
Exception in thread “main” class com.aspose.slides.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.slides.Collections.Generic.SortedList.get_Item(Unknown Source)
com.aspose.slides.sh.do(Unknown Source)
com.aspose.slides.bdf.do(Unknown Source)
com.aspose.slides.bdf.do(Unknown Source)
com.aspose.slides.az.do(Unknown Source)
com.aspose.slides.bgm.do(Unknown Source)
com.aspose.slides.azd.do(Unknown Source)
com.aspose.slides.azd.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
my.test.AsposeSlidesTest.main(AsposeSlidesTest.java:114)
at com.aspose.slides.Collections.Generic.SortedList.get_Item(Unknown Source)
at com.aspose.slides.sh.do(Unknown Source)
at com.aspose.slides.bdf.do(Unknown Source)
at com.aspose.slides.bdf.do(Unknown Source)
at com.aspose.slides.az.do(Unknown Source)
at com.aspose.slides.bgm.do(Unknown Source)
at com.aspose.slides.azd.do(Unknown Source)
at com.aspose.slides.azd.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at my.test.AsposeSlidesTest.main(AsposeSlidesTest.java:114)

Hi Andrey,

I have observed your comments and worked with the presentation file shared by you. I have been able to reproduce the issue. A ticket with ID SLIDESJAVA-35717 has been logged 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 notified automatically as soon as the issue will be resolved.

We are sorry for your inconvenience,

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.