PPT to PDF Conversion

Hi

I'm seeing the following error when attempting PPT to PDF Conversion usgin Aspose slides

java.lang.AssertionError
at com.aspose.slides.obfuscated.dyr.do(SourceFile:87)
at com.aspose.slides.obfuscated.bkt.do(SourceFile:79)
at com.aspose.slides.obfuscated.bpg.(SourceFile:29)
at com.aspose.slides.obfuscated.bof.do(SourceFile:249)
at com.aspose.slides.obfuscated.bof.(SourceFile:57)
at com.aspose.slides.obfuscated.bpw.(SourceFile:41)
at com.aspose.slides.obfuscated.csj.do(SourceFile:60)
at com.aspose.slides.Presentation.save(SourceFile:4052)
at com.aspose.slides.Presentation.save(SourceFile:4004)

I'm using the following code :

Presentation doc = new Presentation("srcFile");
doc.save("outputFile", SaveFormat.PDF);

PPT sample attached

Our company has purchased the Aspose Total product

Hi,


Thanks for inquiring Aspose.Slides.

I have worked with your presentation using Aspose.Slides for Java 3.0.0 and have not been able to reproduce the issue. For your kind reference, I have attached the generated PDF as well. Please use the specified version of Aspose.Slides for Java 3.0.0 and share with us if there is still any issue.

Many Thanks,

Thanks - we were using 2.8.0 version of slides

Downloaded the latest and now were seeing the following error :

java.lang.AssertionError: Cannot read a name from the name table in a font.
at com.aspose.slides.b.a.b.a.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.n.do(Unknown Source)
at com.aspose.slides.a.l.C.if(Unknown Source)
at com.aspose.slides.a.l.C.try(Unknown Source)
at com.aspose.slides.a.l.C.do(Unknown Source)
at com.aspose.slides.a.l.k.do(Unknown Source)
at com.aspose.slides.a.l.k.(Unknown Source)
at com.aspose.slides.a.l.h.case(Unknown Source)
at com.aspose.slides.a.l.h.try(Unknown Source)
at com.aspose.slides.a.l.h.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.a.l.j.do(Unknown Source)
at com.aspose.slides.lU.(Unknown Source)
at com.aspose.slides.Gl.do(Unknown Source)
at com.aspose.slides.Gl.do(Unknown Source)Cannot read a name from the name table in a font.

at com.aspose.slides.Gl.for(Unknown Source)
at com.aspose.slides.Gl.try(Unknown Source)
at com.aspose.slides.Gl.do(Unknown Source)
at com.aspose.slides.Gl.do(Unknown Source)
at com.aspose.slides.Gl.(Unknown Source)
at com.aspose.slides.TextFrame.default(Unknown Source)
at com.aspose.slides.Shape.byte(Unknown Source)
at com.aspose.slides.Rectangle.byte(Unknown Source)
at com.aspose.slides.Rectangle.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.saveToAps(Unknown Source)
at com.aspose.slides.xj.do(Unknown Source)
at com.aspose.slides.xj.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)

Environment details :

java version 1.6.0_22
OS : 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:29 UTC 2011 i686 GNU/Linux

Hi,


I have worked with the shared presentation in Ubuntu environment and have been able to reproduce the issue. An issue with ID SLIDESJAVA-33599 has been created in our issue tracking system to further investigate and resolve the issue. In my opinion the issue might be related to missing font that has been used in your presentation. Please check the availability of all the fonts that have been used in your presentation. However, our development team will investigate it further to share the exact point of view.

We are sorry for your inconvenience,

I would like to add that I am having the same problem. I try to run the hello world example on ubuntu and it breaks with the same error than above.


By the way, is there a version number problem. I see Slide version 3.0.0 and 6.7.0. Which one is the latest?


Didier

Hi Didier,


I have observed the problem statement shared by you and like to share that SLIDESJAVA-33599 is related to AssertionError exception on exporting PPT to PDF. However, the Hello World example that you have shared is related to PPTX. So these are two separate issues. Kindly share the stack trace with us along with complete information related to your environment and JDK version you are using. I will investigate the issue further on my end to help you out.

Secondly, the latest version of Aspose.Slides for Java is 6.7.0 in accordance with Aspose.Slides for .NET 6.7.0. Actually, it has been developed by auto porting from Aspose.Slides for .NET 6.7.0. So, what ever is available in Aspose.Slides for .NET 6.7.0 is also available in Aspose.Slides for Java 6.7.0. So, for this reason the versions have been changed in accordance to Aspose.Slides for .NET.

Many Thanks,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(2)