NullPointerException when trying to copy the worksheet

Hi,

We got the the following while trying to copy the worksheet:

Exception in thread "main" java.lang.NullPointerException

at com.aspose.cells.AutoFilter.a(Unknown Source)

at com.aspose.cells.Worksheet.copy(Unknown Source)

at com.markit.mtp.excel.TestExcel.main(TestExcel.java:77)

The following are the sample code:

workbook.open("c:\\iTest-Input.xls",FileFormatType.DEFAULT);

Worksheet inputWorksheet = workbook.getWorksheets().getSheet(0);
System.out.println("ip file open");

Workbook dest = new Workbook();
dest.open("c:\\Test_Template.xls",FileFormatType.DEFAULT);
Worksheet destWorksheet = dest.getWorksheets().getSheet(0);

destWorksheet.copy(inputWorksheet); //Exception thrown

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

We have found your mentioned issue after an initial test. We will look into it and get back to you soon. Your issue has been registered in our internal issue tracking system with issue id CELLSJAVA-13385.

Thank you & Best Regards,

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. We have fixed your mentioned issue.

Thank you & Best Regards,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.