Invalid encoding: null

Hi,


After running the code below the following Exception is being thrown: java.lang.IllegalStateException: Invalid encoding: null

Can you please check this out?

Thanks,
Zeljko

Code:
String path = “Test2.xls”;

Workbook workbook = new Workbook(path);

workbook.save(“TestXX.xls”);

Hi,

Thanks for providing us template file and sample code.

After an initial test, we observed the issue as you mentioned by using your sample code with your template file. We found an exception: “java.lang.IllegalStateException: Invalid encoding: null” on re-saving an XLS file.

C#
String path = “Test2.xls”;
Workbook workbook = new Workbook(path);
workbook.save(“out1.xls”);

We have logged a ticket with an id “CELLSJAVA-41864” for your issue. We will look into it to figure it out soon.

Hi,

Thanks for using Aspose.Cells.

Please let us know which tool was used to create this file. MS-Excel opens it in protected view and file looks corrupt.

Hi,

Thanks for using Aspose.Cells.

It is to inform you that we have fixed your issue CELLSJAVA-41864 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi,

Thanks for using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for Java v8.8.2.6 and let us know your feedback.

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


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