PPTX to ODP Conversion Throws InvalidOperationException in Java

Team we are getting the below exception while converting the pptx file into odp file. Exception is

Exception - class com.aspose.slides.exceptions.InvalidOperationException: SolidFillColor is unavailable for FillType=NoFill
com.aspose.slides.db.nm(Unknown Source)
com.aspose.slides.l8p.g0(Unknown Source)
com.aspose.slides.frj.g0(Unknown Source)
com.aspose.slides.rci.g0(Unknown Source)
com.aspose.slides.rci.g0(Unknown Source)
com.aspose.slides.d7p.g0(Unknown Source)
com.aspose.slides.d7p.g0(Unknown Source)
com.aspose.slides.x4x.g0(Unknown Source)
com.aspose.slides.kz.g0(Unknown Source)
com.aspose.slides.kz.o9(Unknown Source)
com.aspose.slides.z6u.g0(Unknown Source)
com.aspose.slides.wio.ds(Unknown Source)
com.aspose.slides.wio.g0(Unknown Source)
com.aspose.slides.Presentation.g0(Unknown Source)
com.aspose.slides.Presentation.g0(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)

Our sample code is

InputStream is = new FileInputStream(path);
Presentation presentation = new Presentation(is);
presentation.save(output, SaveFormat.Odp);          

Also attached the pptx file and output of the odp file we are trying to convert into odp. Kindly check this and assist us on thisodpissue.zip (2.2 MB)

Thank you for reporting on the issue. I’ve reproduced the error 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-39261

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.

Please also share the following additional information if it is possible:

  • OS version on which the conversion was performed
  • JDK version in your app

Thanks for your quick response on this.
The requested information are below!.

JDK version : 11.0.19
OS version : CentOS Linux release 7.3.1611
Aspose slides jar : aspose-slides-23.4-jdk16.jar

Thank you for the additional information. I forwarded it to our developers.

1 Like

The issues you found earlier (filed as SLIDESJAVA-39261) have been fixed in Aspose.Slides for Java 23.9 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.

1 Like