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

Free Support Forum - aspose.com

Loading Open Office Presentations Throws Exceptions

Hi!,


Is Aspose Slides 15.1.0 supposed to convert Open Document files ?

"Using Aspose.Slides for Java you can work with PPT, PPTX, OpenDocument, and other formats in your applications. You can also view, generate, modify, convert, render and print presentations all without using Microsoft PowerPoint."

None of the attached sample files I tried appear to work.

example.odp:

Exception in thread “Thread-0” class com.aspose.slides.pa5e0ff62.pbdb106a0.cv: String was not recognized as a valid DateTime.
com.aspose.slides.pa5e0ff62.pbdb106a0.bp.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pbdb106a0.bp.do(Unknown Source)
com.aspose.slides.aje.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.pa5e0ff62.pbdb106a0.bp.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.bp.do(Unknown Source)
at com.aspose.slides.aje.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)

embed.odp:

Exception in thread “Thread-0” class com.aspose.slides.PptUnsupportedFormatException: Not a Open Office presentation. —> class com.aspose.slides.OdpReadException: Error reading “Object 1/styles.xml” xml part —> class com.aspose.slides.pa5e0ff62.pbdb106a0.cv: Unknown char: c
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pbdb106a0.ca.do(Unknown Source)
com.aspose.slides.et.do(Unknown Source)
com.aspose.slides.et.(Unknown Source)
com.aspose.slides.bhx.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.akl.(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
Caused by: class com.aspose.slides.OdpReadException: Error reading “Object 1/styles.xml” xml part —> class com.aspose.slides.pa5e0ff62.pbdb106a0.cv: Unknown char: c
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pbdb106a0.ca.do(Unknown Source)
com.aspose.slides.et.do(Unknown Source)
com.aspose.slides.et.(Unknown Source)
com.aspose.slides.bhx.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.akl.do(Unknown Source)
at com.aspose.slides.akl.do(Unknown Source)
at com.aspose.slides.akl.for(Unknown Source)
… 7 more
Caused by: class com.aspose.slides.pa5e0ff62.pbdb106a0.cv: Unknown char: c
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
com.aspose.slides.pa5e0ff62.pbdb106a0.ca.do(Unknown Source)
com.aspose.slides.et.do(Unknown Source)
com.aspose.slides.et.(Unknown Source)
com.aspose.slides.bhx.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pf4dd765c.pbdb106a0.u.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.ca.do(Unknown Source)
at com.aspose.slides.et.do(Unknown Source)
at com.aspose.slides.et.(Unknown Source)
at com.aspose.slides.bhx.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akj.try(Unknown Source)
… 10 more


test embed.odp:

Exception in thread “Thread-0” class com.aspose.slides.PptUnsupportedFormatException: Not a Open Office presentation. —> class com.aspose.slides.OdpReadException: Error reading “content.xml” xml part —> class com.aspose.slides.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.slides.Collections.Generic.Dictionary.get_Item(Unknown Source)
com.aspose.slides.qw.else(Unknown Source)
com.aspose.slides.qw.char(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.mm.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.akl.(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
Caused by: class com.aspose.slides.OdpReadException: Error reading “content.xml” xml part —> class com.aspose.slides.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.slides.Collections.Generic.Dictionary.get_Item(Unknown Source)
com.aspose.slides.qw.else(Unknown Source)
com.aspose.slides.qw.char(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.mm.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
— End of inner exception stack trace —
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.akl.do(Unknown Source)
at com.aspose.slides.akl.do(Unknown Source)
at com.aspose.slides.akl.for(Unknown Source)
… 7 more
Caused by: class com.aspose.slides.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
com.aspose.slides.Collections.Generic.Dictionary.get_Item(Unknown Source)
com.aspose.slides.qw.else(Unknown Source)
com.aspose.slides.qw.char(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.qw.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.mm.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akk.do(Unknown Source)
com.aspose.slides.akj.try(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.do(Unknown Source)
com.aspose.slides.akl.for(Unknown Source)
com.aspose.slides.akl.(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.exalead.plugins.aspose.BugPptHang$Test.run(BugPptHang.java:28)
at com.aspose.slides.Collections.Generic.Dictionary.get_Item(Unknown Source)
at com.aspose.slides.qw.else(Unknown Source)
at com.aspose.slides.qw.char(Unknown Source)
at com.aspose.slides.qw.do(Unknown Source)
at com.aspose.slides.qw.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.mm.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akk.do(Unknown Source)
at com.aspose.slides.akj.try(Unknown Source)
… 10 more


Hi Xavier,

I have worked with the ODP presentation file shared by you and have been able to reproduce the issue on my end while loading them. By the way, PowerPoint 2010 also throw error on loading the presentations. I have added an issue with ID SLIDESJAVA-34734 to investigate and resolve the access issues with embed.odp and test embed.odp. A separate issue with ID SLIDESJAVA-34735 has been created to resolve the access issue with example.odp. This thread has been linked with both of the specified issues so that you may be automatically notified once the issues will be resolved.

We are sorry for your inconvenience,

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


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

We have tested this new version.
All error messages are gone. Thank you.

However, slides are still not converted correctly.
Some slides are split into 2 images (embed_1.png, embed_2.png and test_embed_2.png, test_embed_3.png)
Images are removed from slides (example_1.png)
The layout of each slide is rendered differently (see all images)

I am attaching images generated from documents we sent previously (“example.odp”, “embed.odp” and “test embed.odp”).

Hi Xavier,


I have observed your comments and like to share with you that we have been able to reproduce issues and they have been logged into our issue management system for further investigation and resolution. Below are the details of logged issues:

  • missed OLE object issue is logged with ID SLIDESNET-36610
  • missed table issue is logged with ID SLIDESNET-36611
  • wrong text direction issue is logged with ID SLIDESNET-36612

This thread has been linked with the issues so that you may be notified automatically as soon as the issues will be fixed.

We are sorry for your inconvenience,

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

The issues you have found earlier (filed as SLIDESNET-36611) have been fixed in Aspose.Slides for .NET 22.1 (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.