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

Free Support Forum - aspose.com

Aspose Slides Java - Writing file to folder throws error

Hi Team,

We are currently using Aspose Slides for Java 8.6.0 . we are populating powerpoint slides with data in multithreaded environment (2 threads at a time). All works fine but randomly we face issue while writing the powerpoint file output to a folder (PresentationEx . write). The error log is mentioned below, to get this issue resolve we re-execute the code and it works fine. Kindly assist on same so we dont face this issue.

Error log;
class com.aspose.slides.pf4dd765c.pbdb106a0.g: Key cannot be null
Parameter name: key
com.aspose.slides.Collections.Hashtable.get_Item(Unknown Source)
com.aspose.slides.ckx.do(Unknown Source)
com.aspose.slides.bdy.createElement(Unknown Source)
com.aspose.slides.bef.do(Unknown Source)
com.aspose.slides.cfr.if(Unknown Source)
com.aspose.slides.ccv.if(Unknown Source)
com.aspose.slides.SlideEx.if(Unknown Source)
com.aspose.slides.SlideEx.do(Unknown Source)
com.aspose.slides.PresentationEx.do(Unknown Source)
com.aspose.slides.PresentationEx.do(Unknown Source)
com.aspose.slides.PresentationEx.do(Unknown Source)
com.aspose.slides.PresentationEx.write(Unknown Source)
com.aspose.slides.PresentationEx.write(Unknown Source)


Hi Ketan,

Thanks for inquiring Aspose.Slides.

I have observed the requirement shared by you and request you to please try using Aspose.Slides for Java 14.10.0 on your end as Aspose.Slides for Java 8.x.x series is no longer supported. If there is still an issue then please share the sample application with us so that we may help you further in this regard.

Many Thanks,