|
ctadlock
|
|
I see this in my logs and am unable to reproduce it. Chris, can you double check the OnPreRender method for any place that is open to a null reference?
CT
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Simplovation.Web.Maps.VE.Map.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.components_area_area_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\0b4dbc0a\9650c9c7\App_Web_ikofupc1.5.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
|
|
|
ctadlock
|
|
After looking at the map code, the only place where I can see a NullReference exception is somehow the license is null...
if (_license.IsTrial)
The only other possibilities are if the page's header is null, or of the scriptmanager is null; neither of which is really possible on an occasional basis.
Is anyone else seeing this issue?
CT
|
|
|
|
Chris Pietschmann
|
|
I haven't been able to duplicate the issue your having, but I can
definitely see there is potential for either Page.Header or _License to
possibly be Null during the OnPreRender event. I have added some extra precautions to prevent this type of exception. Below are the two things that will be included in the v2.00.04 update release to help prevent this exception:
- Added an extra check that will reload the License file in case it happens to be Null during the OnPreRender method.
- Added some extra checks that will throw an exception with a meaningful message if the Page.Header happens to be null.
|
|
|
|
ABECON
|
|
We are currently experiencing the same problem. What is the ETA on the 2.00.04 release?
|
|
|
|
Chris Pietschmann
|
|
The v2.00.04 update was just released today. Please, try it and let me know if you still experience any issues.
|
|
|