Aspose.Slides for Java Cannot Load PowerPoint Files with an Embedded Chart

Does anybody here encountered using java aspose slides library that it cannot load a PPTX file with an embedded chart on it?

I use Aspose-Slide 23.10, 23.11, and 23.12 but exception happens.

Here is the snippet:

Presentation presentation = new Presentation(pptfile.getPath());

I got this exception:

Exception in thread “main” class com.aspose.slides.PptxReadException: Cannot invoke “com.aspose.slides.internal.ld.cf.dq()” because the return value of “com.aspose.slides.internal.ld.td.dq()” is null —> java.lang.NullPointerException: Cannot invoke “com.aspose.slides.internal.ld.cf.dq()” because the return value of “com.aspose.slides.internal.ld.td.dq()” is null
— End of inner exception stack trace —
com.aspose.slides.qge.dq(Unknown Source)
com.aspose.slides.Presentation.nx(Unknown Source)
com.aspose.slides.Presentation.dq(Unknown Source)
com.aspose.slides.Presentation.dq(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
jp.co.vpj.converter.SlideReader.convertToJpeg(SlideReader.java:73)
jp.co.vpj.converter.Main.start(Main.java:160)
jp.co.vpj.converter.Main.main(Main.java:99)
at com.aspose.slides.qge.dq(Unknown Source)
at com.aspose.slides.Presentation.nx(Unknown Source)
at com.aspose.slides.Presentation.dq(Unknown Source)
at com.aspose.slides.Presentation.dq(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at jp.co.vpj.fileconverter.SlideReader.convertToJpeg(SlideReader.java:73)
at jp.co.vpj.fileconverter.Main.start(Main.java:160)
at jp.co.vpj.fileconverter.Main.main(Main.java:99)
Caused by: java.lang.NullPointerException: Cannot invoke “com.aspose.slides.internal.ld.cf.dq()” because the return value of “com.aspose.slides.internal.ld.td.dq()” is null
at com.aspose.slides.oyy.dq(Unknown Source)
at com.aspose.slides.oyy.dq(Unknown Source)
at com.aspose.slides.oyy.dq(Unknown Source)
at com.aspose.slides.rz.ot(Unknown Source)
at com.aspose.slides.rz.dq(Unknown Source)
at com.aspose.slides.d2.dq(Unknown Source)
at com.aspose.slides.lm.dq(Unknown Source)
at com.aspose.slides.b6.dq(Unknown Source)
at com.aspose.slides.w4.dq(Unknown Source)
at com.aspose.slides.b6.dq(Unknown Source)
at com.aspose.slides.b6.dq(Unknown Source)
at com.aspose.slides.dz.dq(Unknown Source)
at com.aspose.slides.szq.dq(Unknown Source)
at com.aspose.slides.nw3.dq(Unknown Source)
at com.aspose.slides.qge.gj(Unknown Source)
… 9 more

@franciss,
Thank you for reporting on the issue. I’ve reproduced the exception you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESJAVA-39385

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

hi why is the issue status blocked?

@franciss,
The issue is blocked by a similar issue in Aspose.Slides for .NET. Once the issue is resolved in Aspose.Slides for .NET, the issue will be resolved in Aspose.Slides for Java of the same version. Thank you for your patience.

1 Like