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

Free Support Forum - aspose.com

CellsException: Shape to image Error!


I'm trying to convert an excel document to PDF. When I do I get the following error. The file can be opened with Libreoffice and of course Excel.

We're using aspose-cells.jar (7.4.3)

The error is:
Exception in thread "main" com.aspose.cells.CellsException: Shape to image Error!
at com.aspose.cells.Ax.a(Unknown Source)
at com.aspose.cells.Workbook.a(Unknown Source)
at com.aspose.cells.Workbook.save(Unknown Source)
at AsposeExcelToPdf.main(AsposeExcelToPdf.java:37)

I have attached a sample program which I'm using to do the conversion to isolate problems that might be related to integration with our application. I've also attached a sample file causing the problem, we have several other files giving the same error.



Thanks for your posting and using Aspose.Cells for Java.

We were able to replicate this exception using the following code with the latest version: Aspose.Cells for Java (Latest Version).

We have logged this issue in our database. We will look into it and resolve this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSJAVA-40530.


String filePath=“F:\Shak-Data-RW\Downloads\NP 15 pages.xls”;

Workbook workbook = new Workbook(filePath);

workbook.save(filePath + “.out.pdf”, SaveFormat.PDF);

The issues you have found earlier (filed as CELLSJAVA-40530) have been fixed in this update.

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