Workbook is broken after save

Hi,


We have found the following issue, the wokrbook is broken after save:

public class OpenWorkbook {
public static void main(String[] args) throws Exception {
Workbook workbook = new Workbook(new FileInputStream(“D:\Correct.xlsx”));
workbook.save(“D:\BrokenWorkbook.xlsx”);
}
}

MS Excel 2010 loads “Correct.xlsx” file without errors, but shows error on “BrokenWorkbook.xlsx” opening (corrupted format).

Could you review the attached files and fix this bug?

Thanks.

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue after running the following code with the latest version: Aspose.Cells
for Java v8.2.0.4
. The output file gets corrupt after opening and saving the source file.

I have also attached the output file which is corrupt for a reference.

We have logged this issue in our database for investigation. We will look into it and fix 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-41004.

Java


String filePath = “F:\Shak-Data-RW\Downloads\Correct.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.save(filePath + “.out.xlsx”);


Hi,

Thanks for using Aspose.Cells for Java.

Please download and try this fix: Aspose.Cells for Java v8.2.1.1 and let us know your feedback.

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


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