Free Support Forum - aspose.com

Part of PPT's drawing a null pointer exception

java.lang.NullPointerException
at com.aspose.slides.auv.do(Unknown Source)
at com.aspose.slides.bqh.do(Unknown Source)
at com.aspose.slides.dj.do(Unknown Source)
at com.aspose.slides.aio.do(Unknown Source)
at com.aspose.slides.auw.else(Unknown Source)
at com.aspose.slides.auw.do(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)


Use jar aspose.slides-15.4.0-jdk17.jar

Hi Huang,


I have observed the stack trace shared by you and suggest you to please try using Aspose.Slides for Java 15.5.1 on your end. If there is still an issue then please share the sample code used on your end to reproduce the issue. I will investigate the issue further on my end once the requested information will be shared.

Many Thanks,

I use my own project code, or your test code is the same error, the error is as follows。


Use aspose.slides-15.5.1-jdk17.jar。

Exception in thread “main” java.lang.NullPointerException
at com.aspose.slides.awb.do(Unknown Source)
at com.aspose.slides.brw.do(Unknown Source)
at com.aspose.slides.dk.do(Unknown Source)
at com.aspose.slides.ajd.do(Unknown Source)
at com.aspose.slides.awc.else(Unknown Source)
at com.aspose.slides.awc.do(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at programmersguide.workingwithslidesinpresentation.removingslidesfromapresentation.usingslidereference.java.UsingSlideReference.main(UsingSlideReference.java:24)


To help solve the next, thank you

Hi Huang,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-34926 has been created 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-34926) have been fixed in this update.


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