Free Support Forum - aspose.com

Aspose.Cells.SetLicense

Hello, i’ve a problem with aspose.cells 4.8.0.0

it’s from this morning 24/11/2009 that i receive this error “Object Reference not set to an instance of an object” when calling the Aspose.Cells.SetLicense method.

In the stack trace i also found:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.ArrayList.Add(Object value)
at x9d2539cac3622db3.x220f433da4115056.xdc195f1c5804967a()
at x9d2539cac3622db3.x220f433da4115056.x7d0214bf69711dd9(Stream xcf18e5243f8d5fd3)
at x9d2539cac3622db3.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)
at Aspose.Cells.License.SetLicense(String licenseName)
at Aviva.BL.Core.ReportGenerator.Management.ManageReportMapping…ctor()

the object not set trace is:

System.NullReferenceException: Object reference not set to an instance of an object.
at x9d2539cac3622db3.x220f433da4115056.x7d0214bf69711dd9(Stream xcf18e5243f8d5fd3)
at x9d2539cac3622db3.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)
at Aspose.Cells.License.SetLicense(String licenseName)


the license is embedded with our dll.

we have a Developer OEM License (Gruppo Reti Busto Arsizio Italy)

Our Production Environment is blocked by this error

Hi,

Thank you for considering Aspose.

Please create a sample application with your license file to reproduce the issue and send us via email (don’t attach it in the forum). We will look into it to figure out the issue soon. Please follow the steps mentioned in the following link to send us the sample application.

http://www.aspose.com/corporate/purchase/faqs/send-license-to-aspose-staff.aspx

Thank You & Best Regards,

I'm not able to reproduce the issue because with the same license it only happens in one environment, in the others all continue working.

i resolved with a server reboot, but i need to know what's happened.

i can send you the license if you want.

Hi,

Thank you for considering Aspose.

We have received your license file via email. After testing it with the latest version of Aspose.Cells, we are not able to reproduce your mentioned issue either. Please share you system environment details and we will further look into your issue and see if we can reproduce the issue.

Thank You & Best Regards,