We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

NullPointerException while copying a worksheet

we are trying to evaluate aspose.cells for our application, when i try to copy a worksheet from a template i get the following error.

2009-02-10 17:05:38,968 [http-80-1] [INFO ] insite.ReportEngine - getDBHostAndName: result:host=|localhost:1433| db=|report_51|
java.lang.NullPointerException
at com.aspose.cells.Column.a(Unknown Source)
at com.aspose.cells.Columns.a(Unknown Source)
at com.aspose.cells.Worksheet.copy(Unknown Source)

I am able to generate some of the reports, but getting this error when some of cells have blank values. can you please let me know your thoughts on thsi issue.

Hi,

Thank you for considering Aspose.

Please share your template file which is causing this exception, we will figure out the issue soon.

Thank You & Best Regards,

Hi,

Could you try the attached version.

If you still find the issue, kindly post your template file with sample code here, we will look into your issue soon.

Thank you.

Hi Amjad,

Thanks for the quick response, the issue got resolved with the latest jar you had uploaded. Now i am able to generate the report with out any issue.

Regards,

Mahesh