Chart exporting hangs

Hi,


In the following code toImage method hangs indefinitely:


public class ChartExportTest {

public void chartExportTest() throws Exception {
Workbook wb = new Workbook(“d:\test.xlsx”);
Worksheet sheet = wb.getWorksheets().get(0);

for (int i = 0; i < sheet.getCharts().getCount(); i++) {
Chart chart = sheet.getCharts().get(i);
FileOutputStream out = new FileOutputStream(new File(“d:\chart2.png”));
try {
ImageOrPrintOptions options = new ImageOrPrintOptions();
options.setImageFormat(ImageFormat.getPng());
options.setHorizontalResolution(800);
options.setVerticalResolution(600);
chart.toImage(out, options);
} finally {
out.close();
}
}

}

}

I have attached test XLSX file.

Could you scrutinize and fix this bug.

Thanks.

Hi Anvar,


Thank you for contacting Aspose support.

We have evaluated your presented scenario on our end while using the latest version of Aspose.Cells for Java 8.3.0.4, and we are able to replicate the said problem. The process seems to hang while extracting the chart from your provided spreadsheet in image format. We have logged the problem in our bug tracking system under the ticket CELLSJAVA-41119 for further investigation & correction purposes. Please spare us little time to properly analyze the problem cause, and to provide the fix at earliest possible. In the meanwhile, we will keep you posted with updates in this regard.
Hi,

Could you estimate time frame (or planned date) to resolve this issue?

This problem has high priority for us.

Thanks.

Hi Anvar,


I am afraid, the ticket attached to this thread is still unresolved. We have recorded a note for the concerned development team member to share the insight of the problem, and most preferably an estimated release schedule for the fix. As soon as we receive any updates in this regard, we will post here for your kind reference.

Hi,


Please try our latest version/fix: Aspose.Cells for Java v8.3.1.1 (attached).

We have fixed your issue now.

Let us know your feedback.

Thank you.

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


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