NullPointerException thrown when ppt is converted to PDF

Hi,

we are using aspose slides 7.5.1 with following code snippet for converting PPT to PDF.

Presentation doc = new Presentation(MyDir + “DAM_Overview_v2.ppt.ppt”);
PdfOptions options = new PdfOptions();
options.setEmbedTrueTypeFontsForASCII(true);
doc.save(MyDir + “OutJava.pdf”,com.aspose.slides.SaveFormat.Pdf, options);


when attached sample PPT(DAM_Overview_v2.ppt) is converted to PDF, we are getting below exception.

java.lang.NullPointerException
at com.aspose.slides.pbdb106a0.p883e881b.a.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p883e881b.a.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p883e881b.a.(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p7cce53cf.y.(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p7cce53cf.n.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ar.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p7cce53cf.j.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ae.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.an.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.al.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.n.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.k.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.n.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.ai.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.an.do(Unknown Source)
at com.aspose.slides.bbo.do(Unknown Source)
at com.aspose.slides.bbo.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source).

Thanks & Regards,
Thirumurthy R

Hi Thirumurthy R,

I have worked with the presentation file shared by you using Aspose.Slides for Java 7.7.0 and have not been able to observe the issue specified. For your kind reference, the generated PDF is attached. Please try using specified version on your end. Please share, if I may help you further in this regard.

Many Thanks,