Free Support Forum - aspose.com

Error re-saving workbook

Hello,

I have a problem with one xls file. When I open workbook and try to save it again error occurs:

java.lang.IllegalArgumentException: Invalid Hyperlink address: This parameter cannot be empty
at com.aspose.cells.Hyperlink.a(Unknown Source)
at com.aspose.cells.Hyperlink.a(Unknown Source)
at com.aspose.cells.dS.b(Unknown Source)
at com.aspose.cells.dS.a(Unknown Source)
at com.aspose.cells.iG.b(Unknown Source)
at com.aspose.cells.iG.b(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.iG.a(Unknown Source)
at com.aspose.cells.Workbook.open(Unknown Source)


I am using apose.cells-2.5.4 jar
I will send you xls file, can you check this issue?

Thanks
Branko

Hi,


Please try our latest version / fix v2.5.4.21: Please download: Aspose.Cells for Java v2.5.4.21
I have tested your issue with the following code, it works fine and the output file is also generated fine.

Sample code:
Workbook workbook = new Workbook();
workbook.open(“Static+Inventory-Java+Apps+08-18-2011.xls”);
workbook.save(“output.xls”);