Exception"Type system" on loading PPTX (Java)

We encountered a PPTX file that Aspose.Slides Java 18.2.1-jdk16 fails to load, failing with exception:

Exception in thread "main" class com.aspose.slides.pa5e0ff62.pbdb106a0.cs: Exception of type 
System.Exception was thrown.
com.aspose.slides.wa.do(Unknown Source)
com.aspose.slides.na.do(Unknown Source)
com.aspose.slides.nd.do(Unknown Source)
com.aspose.slides.hr.do(Unknown Source)
com.aspose.slides.gq.do(Unknown Source)
com.aspose.slides.ha.do(Unknown Source)
com.aspose.slides.ha.do(Unknown Source)
com.aspose.slides.hd.do(Unknown Source)
com.aspose.slides.hl.do(Unknown Source)
com.aspose.slides.yw.do(Unknown Source)
com.aspose.slides.yw.do(Unknown Source)
com.aspose.slides.dn.do(Unknown Source)
com.aspose.slides.bdi.do(Unknown Source)
com.aspose.slides.awm.do(Unknown Source)
com.aspose.slides.ave.byte(Unknown Source)
com.aspose.slides.ave.do(Unknown Source)
com.aspose.slides.Presentation.int(Unknown Source)
com.aspose.slides.Presentation.if(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)
com.aspose.slides.Presentation.<init>(Unknown Source)

I eventually found that the culprit was one label in a pie chart. A problem-reproducing file can be generated using PowerPoint 2016 by doing:

  • create new file
  • add blank slide
  • add a pie chart
  • add data callout labels
  • resize a label and move it’s callout pointer
    ** these last two modifications need to be done in that order and without closing PowerPoint in between

Simplified example file chart-bug-pptx.zip (21.2 KB)


I have worked with the presentation shared by you using Aspose.Slides for Java 18.2 and have been able to observe the issue. A ticket with ID SLIDESJAVA-36974 has been added in our issue tracking system to resolve the issue. This thread has been associated with the ticket so that we share notification with you once issue will be fixed.

The issues you have found earlier (filed as SLIDESJAVA-36974) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by mudassir.fayyaz