I have deployed an ASP.NET 2.0 application that is using neadvantage 7.1 for ASP.NET. Sometimes randomly, when a page that contains webdatechooser control is loaded, the following error occurs:
Normal 0 false false false EN-US X-NONE AR-SA MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi;}
Object reference not set to an instance of an object. Stack Trace: at Infragistics.WebUI.Shared.WebAgent.GetPageControl(Control control) at Infragistics.WebUI.Shared.WebAgent.get_EnableAppStylingResolved() at Infragistics.WebUI.WebSchedule.WebDateChooser.get_IsAppStyling() at Infragistics.WebUI.WebSchedule.WebDateChooser.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The user can go further unless the IIS server is restarted. As you can see, all the method call that are involved in the error are from Infragistics and .net framework. Any clue on how to solve the problem?
Note: Sometimes the error appears for other infragistics control such as ultrawebgrid etc.
Hello - just had the same issue on dev box. Was adding some controls to new pages in a sub-folder with in a site. I upgraded last week to
8.3.20083.2115 hot fix version.
Restarting IIS seems to have fixed it for now. Will post if I continue to see this. Exception below:
Application Error:Exception of type 'System.Web.HttpUnhandledException' was thrown.
InnerExcAppErr: InnerExcp: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.Shared.GlobalCssHelper.GetPageContainer(Page page, Boolean create) at Infragistics.WebUI.Shared.GlobalCssHelper.OnInit(WebControl control, Page page) at Infragistics.WebUI.WebSchedule.WebDateChooser.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.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.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.dba_dateselect_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-----------------------------------------------------------------------
InnerExcAppErr: InnerExcp: System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.Shared.GlobalCssHelper.GetPageContainer(Page page, Boolean create) at Infragistics.WebUI.Shared.GlobalCssHelper.OnInit(WebControl control, Page page) at Infragistics.WebUI.WebSchedule.WebDateChooser.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
---------------------------------------------------
A similar issue was fixed in the most recently released hot fix for NetAdvantage Web Client (ASP.NET). You can download the hot fix from the My Keys and Downloads page of our website. You may want to test this to see if it addresses your issue.
If the exception continues to occur, then please submit a support request so that we can investigate further. (EDIT: I just noticed in your earlier post that you've already done this.) As I mentioned earlier, providing a sample that reproduces this behavior is the best thing you can provide to assist us in identifying and resolving the issue, particularly if you're still seeing it occur despite having the most recent hot fix installed.
has there been any resolution do this issue?
I get similiar random error from the Infragistics/.net framework. i have submitted a trouble request still no solution. Here are a few of the rrors. It only happens on the prod box.
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.Shared.Util.ScriptManager.IsInAsyncPostBack(Page page) at Infragistics.WebUI.Shared.Util.ClientScript.IsAsyncPostBack(Control control) at Infragistics.WebUI.Shared.CssBuilder.Control_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.Shared.Util.ScriptManager.IsInAsyncPostBack(Page page) at Infragistics.WebUI.Shared.Util.ScriptManager.IsInsideUpdatePanelAndAsyncPostBack(Control control) at Infragistics.WebUI.UltraWebGrid.RenderDHTMLGrid.RenderPostJavaScript(String extraParam) at Infragistics.WebUI.UltraWebGrid.RenderXmlGrid.VisitObjects(HtmlTextWriter output) at Infragistics.WebUI.Shared.RendererBase.Render(HtmlTextWriter output) at Infragistics.WebUI.UltraWebGrid.GridRendererBase.Render(HtmlTextWriter output) at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at Infragistics.WebUI.WebCombo.RenderDHTMLCombo.Render(HtmlTextWriter output) at Infragistics.WebUI.WebCombo.WebCombo.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at Infragistics.WebUI.WebControls.WebPanelBase.RenderContents(HtmlTextWriter writer) at Infragistics.WebUI.Misc.RenderUpLevelPanel.RenderContents(HtmlTextWriter writer) at Infragistics.WebUI.Misc.RenderUpLevelPanel.VisitObjects(HtmlTextWriter writer) at Infragistics.WebUI.Misc.WebPanel.Render(HtmlTextWriter writer) at
I've seen a very similar exception reported to Developer Support recently by another customer. It seems to affect a number of different controls (the other customer is using WebMenu, WebChart, and WebTab), and seems to require an IIS restart once it occurs. We're still looking into the matter ourselves with all due thoroughness.
If you haven't already done so, I suggest that you submit a support request. I recognize that this may be difficult to dependably reproduce in a sample project, but if you're able to create one, it would likely help us to resolve this issue much more quickly. Even if you can't reproduce the behavior, any additional information you can provide as to what seems to be the cause will be helpful.