We’ve been randomly getting the error message "Object reference not set to an instance of an object. " on our production environment, and it seems to be thrown from within the Aspose.Cells.GridWeb assembly.
I’ve posted the stack trace below, we are using Aspose.Cells.GridWeb.dll for .Net 2.0 version 2.3.2.2000.
Stack trace: at xa218afd71e4b15d5.x220f433da4115056.x7d0214bf69711dd9(Stream xcf18e5243f8d5fd3)
at xa218afd71e4b15d5.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)
at Aspose.Cells.GridWeb.License.SetLicense(String licenseName)
at BizCapsOb.BizGrid.License() in C:\BizMain\Bizcapsob\BizcapsOb.cs:line 3742
at ASP.appgen_ut_100_mc_aspx.OnInit(EventArgs e) in c:\Inetpub\wwwroot\g-caps\AppGen\bizmnt.inc:line 39
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This exception is happening when we do the following
Aspose.Cells.GridWeb.License lc = new Aspose.Cells.GridWeb.License();
lc.SetLicense(“Aspose.Total.lic”);
and Aspose.Total.lic happens to be an embedded resource.
This issue is intermittent, because when we reset IIS the issue goes away and these exceptions no longer happen.
However, if the problem still occurs, we will need your sample runnable but simpler project replicating this issue using the above version to look into this issue.
We will investigate this issue and help you asap.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.