Aspose crashes converting ppt to pdf- causing app server to crash

Hi,
We are running in a Linux environment and we have a problem converting a specific ppt to a pdf.
The ppt file is attached.
Below is the exception and the test code that we run:

java.lang.NullPointerException: while trying to read the field ‘av’ of an object returned from com.aspose.slides.AutoShape.do()
at com.aspose.slides.AutoShape.goto(SourceFile:188)
at com.aspose.slides.AutoShape.do(SourceFile:791)
at com.aspose.slides.GroupShape.do(SourceFile:211)
at com.aspose.slides.GroupShape.do(SourceFile:211)
at com.aspose.slides.GroupShape.do(SourceFile:211)
at com.aspose.slides.GroupShape.do(SourceFile:211)
at com.aspose.slides.Slide.do(SourceFile:1477)
at com.aspose.slides.Slide.saveToAps(SourceFile:1520)
at com.aspose.slides.obfuscated.lj.do(SourceFile:55)
at com.aspose.slides.Presentation.save(SourceFile:3401)
at com.aspose.slides.Presentation.save(SourceFile:3349)
at Ppt2Pdf.main(Ppt2Pdf.java:34)

This exception is repeated endlessly

The code:

try {
System.out.println("trying to convert: " + args[0]);
Presentation pe = new Presentation(args[0]);
// com.aspose.slides.export.PdfOptions opts = new PdfOptions();
// opts.setJpegQuality(5);
// opts.setTextCompression(PdfTextCompression.FLATE);


pe.save(args[1], SaveFormat.PDF);
System.out.println(“done…”);

// // pe.save(args[1],SaveFormat.PDF);
} catch (Exception e) {
// TODO Auto-generated catch block
System.out.println(“got error:”);
e.printStackTrace();

}

Hello Oded,

I have worked with the source presentation shared by you and have been able to reproduce the issue specified. An issue with ID 22976 has been created in our issue tracking system to further investigate and resolve the issue. This thread has also been linked with the issue so that you may be automatically notified once the issue is resolved.

We are sorry for your inconvenience,

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


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