As requested by the support team I created a new topic for this issue.
Version affected: Slides 15.8.0
Last Version working: Slides 15.7.0
System affected: Ubuntu Linux 14.04 LTS
Error: Saving a presentation causes error message. All current files are affected and not a single one.
Code to reproduce the problem:
ByteArrayOutputStream baos = new ByteArrayOutputStream();
1. Presentation presentation = new Presentation(inputStream);
2. presentation.save(baos, com.aspose.slides.SaveFormat.Pdf);
3. presentation.dispose();
Error happens in line 2.
Hi Thomas,
Thank you for posting.
I have observed your comments and worked with the code shared by you. The subject of your post is, NoClassDefFoundError. Whereas I am observing ExceptioninitializerError on my end. I have pasted the stack trace on my end for your kind reference. Are you facing the same problem or a different one? I request you to please share with us the stack trace on your end so that we may investigate it further to help you out.
Exception in thread “main” java.lang.ExceptionInInitializerError
at com.aspose.slides.p6a2feef8.p9f36407e.k.do(Unknown Source)
at com.aspose.slides.p6a2feef8.p9f36407e.k.do(Unknown Source)
at com.aspose.slides.p6a2feef8.p9f36407e.h.do(Unknown Source)
at com.aspose.slides.vr.do(Unknown Source)
at com.aspose.slides.vi.(Unknown Source)
at com.aspose.slides.vi.do(Unknown Source)
at com.aspose.slides.bmr.int(Unknown Source)
at com.aspose.slides.bmr.static(Unknown Source)
at com.aspose.slides.blu.do(Unknown Source)
at com.aspose.slides.blu.do(Unknown Source)
at com.aspose.slides.blu.do(Unknown Source)
at com.aspose.slides.blu.do(Unknown Source)
at com.aspose.slides.blu.(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.AutoShape.do(Unknown Source)
at com.aspose.slides.GroupShape.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.aux.do(Unknown Source)
at com.aspose.slides.aux.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at linuxtest.LinuxTest.main(LinuxTest.java:247)
Caused by: java.lang.NullPointerException
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.o.do(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.for(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
… 26 more
You are right, I updated the topic.
Hi Thomas,
I request you to please share the source presentation causing the issue on your end, along with Java and application type details on your end. Please share the requested information so that we may help you further in this regard.
Many Thanks,
Hi,
Hi Shilpi,