Cannot save workbook (636)

Hi,


When I try to save the attached workbook, this exception occurs:

java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method)

Here’s the code I use:

String path = “pv00008.xls”;
Workbook workbook = new Workbook(path);
workbook.save(“pv00008-16.11.0.xls”);

I’m using Aspose.Cells for Java 16.11.0.

Can you check this?

Thanks,
Zeljko

Hi,


Thanks for your posting and using Aspose.Cells.

We were able to observe the exception on saving your source workbook with the latest version and logged this issue in our database for investigation. We will look into it and fix it. 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-42080 - Exception on saving the workbook

I have also shown the exception caused by this code for a reference.

Java
Workbook workbook = new Workbook(dirPath + “pv00008.xls”);
workbook.save(dirPath + “output.xls”);

Exception
Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.aspose.cells.zcu.a(Unknown Source)
at com.aspose.cells.zbfl.(Unknown Source)
at com.aspose.cells.zcbx.a(Unknown Source)
at com.aspose.cells.zcbx.a(Unknown Source)
at com.aspose.cells.zcbw.a(Unknown Source)
at com.aspose.cells.zcbw.b(Unknown Source)
at com.aspose.cells.zcbw.a(Unknown Source)
at com.aspose.cells.zcab.a(Unknown Source)
at com.aspose.cells.zcab.a(Unknown Source)
at com.aspose.cells.zcab.a(Unknown Source)
at com.aspose.cells.Workbook.save(Unknown Source)
at ClsAspose.f1(ClsAspose.java:33)
at ClsAspose.main(ClsAspose.java:15)

Hi,

Thanks for using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for Java (Latest Version) and let us know your feedback.

Hi Shakeel,


Thank you for providing me with the latest jar. I tested and I can confirm the issue is fixed.

When can we expect Aspose.Cells for Java 16.12.0?

Regards,
Zeljko
Hi,

Thanks for your feedback and using Aspose.Cells.

It is good to know that your issue is resolved with the latest fix. Let us know if you encounter any other issue, we will be glad to look into it and help you further.

The next version 16.12.0 is expected to be released between 15-25 December, so we are afraid, you will have to wait till then. However, you can use this fix for your production use without any problem.

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


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