Aspose Slides Java 7.5.0 - Error Converting pptx to pdf

Hi,

We're experiencing an issue when converting a pptx to pdf using Aspose Slides 7.5.0 and Java 1.7.0_21

This seems to be a regression as the same file converts fine using 7.3.0.

I've attached the file for your convenience.

com.aspose.ms.imagecodecs.png.v: chunk: chunkid=pHYs len=9 crc calc=-1792340453 read=0
at com.aspose.ms.imagecodecs.png.pbdb106a0.f.do(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.do(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.super(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.new(Unknown Source)
at com.aspose.ms.imagecodecs.png.spi.PngImageReader.init(Unknown Source)
at com.aspose.ms.imagecodecs.png.spi.PngImageReader.read(Unknown Source)
at javax.imageio.ImageReader.read(ImageReader.java:940)
at com.aspose.slides.pf4dd765c.pf4dd765c.pf4dd765c.pa2137a2a.a.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pf4dd765c.pf4dd765c.pa2137a2a.a.try(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.pa2137a2a.b.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.pa2137a2a.b.(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.pa2137a2a.b.(Unknown Source)
at com.aspose.slides.pbdb106a0.p883e881b.a.(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a.catch(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a.break(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a.(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.p7cce53cf.y.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ar.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ar.if(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.al.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.m.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.s.do(Unknown Source)
at com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.an.do(Unknown Source)
at com.aspose.slides.bdc.if(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.save(Unknown Source)

Thanks,
James

Hi James,


I have worked with the presentation file shared by you in the same Java version as specified by you in Windows 7 x64. I have not been able to verify the issue on my end. For your kind reference, I have attached the generated PDF and snapshot. Can you please try again on your end and shared the complete environment details where by you are having issue.

Many Thanks,

Thank for your prompt response.


To confirm, I’ve observed the failure with CentOS 5.9, Ubuntu 10.04.4 and 12.04.1 with the same stacktrace.

I can confirm the conversion works on Windows 7 using the same jar, so this issue seems to affect Linux and not Windows.

I can provide the CentOS5.9 if required, it’s a stock VM.

Thanks,
James

Hi James,


Thanks for sharing the additional details. I have created an issue with ID SLIDESJAVA-33996 to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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


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

Hi,

I have the same problem and the same error message. it works on windows but on UNIX i get the error messege when i try to convert pptx-slides. I am using the version 7.5.1.

Java Code :

pdfOptions.setSaveMetafilesAsPng(false);

dfOptions.setEmbedFullFonts(false)

pdfOptions.setCompliance(com.aspose.slides.PdfCompliance.Pdf15

HandleSlidesWarning callback = new HandleSlidesWarning();

pdfOptions.setWarningCallback((IWarningCallback) callback);

pex.save(output, com.aspose.slides.SaveFormat.Pdf, pdfOptions);

Error Message in the log File:

2013-08-06 08:34:18,086 | FATAL | WebContainer : 0 | converter.aspose.AsposeSlides |

com.aspose.ms.imagecodecs.png.v: chunk: chunkid=pHYs len=9 crc calc=-1792340453 read=0

at com.aspose.ms.imagecodecs.png.pbdb106a0.f.do(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.do(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.super(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.new(Unknown Source)

at com.aspose.ms.imagecodecs.png.spi.PngImageReader.init(Unknown Source)

at com.aspose.ms.imagecodecs.png.spi.PngImageReader.read(Unknown Source)

at javax.imageio.ImageReader.read(ImageReader.java:934)

2013-08-06 08:34:18,086 | FATAL | WebContainer : 0 | converter.aspose.AsposeSlides |

com.aspose.ms.imagecodecs.png.v: chunk: chunkid=pHYs len=9 crc calc=-1792340453 read=0

at com.aspose.ms.imagecodecs.png.pbdb106a0.f.do(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.do(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.super(Unknown Source)

at com.aspose.ms.imagecodecs.png.r.new(Unknown Source)

at com.aspose.ms.imagecodecs.png.spi.PngImageReader.init(Unknown Source)

at com.aspose.ms.imagecodecs.png.spi.PngImageReader.read(Unknown Source)

at javax.imageio.ImageReader.read(ImageReader.java:934)

v

Environment :

java version “1.6.0”
Java™ SE Runtime Environment (build pap6460sr12-20121025_01(SR12))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX
ppc64-64 jvmap6460sr12-20121024_126067 (JIT enabled, AOT enabled)
J9VM - 20121024_126067
JIT - r9_20120914_26057
GC - 20120928_AA)
JCL * 20121014_01
Operating-System: AIX
OS-Version: 7100-02-02-1316

Hi Dierk,

I have observed the stack trace shared and suggest you to please try using Aspose.Slides for Java 7.6.0 on your end. If there is still an issue then please share the sample presentation with us so that I may create a ticker for investigation of issue in our issue tracking system.

Many Thanks,

Hi Muddasir,

thank you for your quick answer. i works at the most slides we use but the attached slide is still making trouble.

Log file:

2013-08-19 08:30:32,223 | FATAL | WebContainer : 0 | converter.aspose.AsposeSlides |
com.aspose.ms.imagecodecs.png.v: chunk: chunkid=pHYs len=9 crc calc=-1792340453 read=0
at com.aspose.ms.imagecodecs.png.pbdb106a0.f.do(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.do(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.super(Unknown Source)
at com.aspose.ms.imagecodecs.png.r.new(Unknown Source)
at com.aspose.ms.imagecodecs.png.spi.PngImageReader.init(Unknown Source)
at com.aspose.ms.imagecodecs.png.spi.PngImageReader.read(Unknown Source)
at javax.imageio.ImageReader.read(ImageReader.java:934).

thanks for yout help

dierk

Hi Dierk,

I have worked with the presentation file using Aspose.Slides for Java 7.6.0 and have not been able to observe the issue specified. Please try using the specified version and share with us if there is any issue.

Many Thanks,

Hi Muddasir,

thanks for your help, but we have this problem only in our production environment on UNIX/AIX ( as i described above). In the development environment on windows is worked fine.

Regard Dierk

Hi Dierk,

Thanks for sharing the feedback. I have created an issue with ID SLIDESJAVA-34076 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 automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

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


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