We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

A presentation that throws "Value cannot be null" exception when I try to save it

Hi,

I have a presentation that throws "Value cannot be null" exception when I try to save it with:
myPresentation.save(newPresentationPath, SaveFormat.Pptx);
The exception is thrown even if no changes were made.
I'm using aspose.slides-16.3.0.jar.
Unfortunately I cannot upload the file in question due to privacy reasons.
Edit: the source presentation is a pptx file.

class com.aspose.slides.ms.pbdb106a0.j: Value cannot be null.
Parameter name: codec not found (b96b3caa-0728-11d3-9d7b-0000f81ef32e) codec=Aspose PNG image writer:b96b3caf-0728-11d3-9d7b-0000f81ef32e
com.aspose.slides.ms.pbdb106a0.p6a2feef8.ac.do(Unknown Source)
com.aspose.slides.ms.pbdb106a0.p6a2feef8.ac.do(Unknown Source)
com.aspose.slides.avk.do(Unknown Source)
com.aspose.slides.tg.do(Unknown Source)
com.aspose.slides.tg.do(Unknown Source)
com.aspose.slides.boz.do(Unknown Source)
com.aspose.slides.boz.do(Unknown Source)
com.aspose.slides.ec.if(Unknown Source)
com.aspose.slides.ec.do(Unknown Source)
com.aspose.slides.bcb.do(Unknown Source)
com.aspose.slides.avp.do(Unknown Source)
com.aspose.slides.avp.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)

Hi Arik,


Thank you for posting.

I have observed your comments and like to share with you that we understand your data security concerns, that is why the attachments can be accessed by Aspose staff only. Another option for your satisfaction is to send the file to me, privately, as explained in this documentation article. To fix the problem, we need to reproduce it first; so the source file is necessary to address this issue. Once you send the file, please mention in this thread for reference.

Best Regards,