Error in WebDateChooser Rendering

This post has 20 Replies | 9 Followers

skhita
Points 35
Replied On: Sat, Nov 29 2008 7:09 AM

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.

 

  • Post Points: 35
Replied On: Mon, Dec 1 2008 1:41 PM

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.

Vince McDonald
Senior Developer Support Engineer, MCP

Need help? Find the various ways you can ask for help from Infragistics.

  • Post Points: 20
ustesgreenridge
Points 597
Replied On: Mon, Dec 22 2008 2:00 PM

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

 

  • Post Points: 5
ustesgreenridge
Points 597
Replied On: Tue, Dec 30 2008 3:01 PM

has there been any resolution do this issue?

  • Post Points: 20
Replied On: Mon, Jan 5 2009 12:47 PM

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.

Vince McDonald
Senior Developer Support Engineer, MCP

Need help? Find the various ways you can ask for help from Infragistics.

  • Post Points: 20
vgk
Points 175
Replied On: Tue, Sep 1 2009 3:13 PM

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)

---------------------------------------------------

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)

  • Post Points: 20
Replied On: Wed, Sep 2 2009 10:04 AM

vgk:
Will post if I continue to see this.
If this exception continues, I recommend (as I've done previously in this thread) that you submit a support request instead.  You're using the current service release of NetAdvantage for .NET 2008 Volume 3, so this will take some in-depth research to determine what's happening if the issue persists.

Vince McDonald
Senior Developer Support Engineer, MCP

Need help? Find the various ways you can ask for help from Infragistics.

  • Post Points: 20
vgk
Points 175
Replied On: Mon, Sep 28 2009 9:50 AM

I’ve opened a trouble ticket for this one, as it seems to be a reoccurring issue for me.

  • Post Points: 20
brianatpru
Points 45
Replied On: Tue, Oct 6 2009 10:43 AM

Any update on this?  Following an upgrade from 2008 vol. 1 to 2009 vol. 1 (9.1.20091.2087), we began experiencing this issue at random times and only on one development server.  IIS reset always seems to get rid of the error (until next time).  Here is a stack trace:

Stack TraceObject reference not set to an instance of an object.

Object reference not set to an instance of an object. (System.NullReferenceException)

at Infragistics.WebUI.Shared.GlobalCssHelper.GetPageContainer(Page page, Boolean create)
at Infragistics.WebUI.Shared.GlobalCssHelper.OnInit(WebControl control, Page page)
at Infragistics.WebUI.WebDataInput.WebTextEdit.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Thanks

  • Post Points: 20
vgk
Points 175
Replied On: Tue, Oct 6 2009 11:02 AM

Hi Brian - I've opened a trouble ticket on 9/28 according to Vince's recommendation but haven't heard back yet. My issue seems to be related only to the webdatechooser control. Which makes me think it has something to do with the way that DLL is stored in GAC.  For you it looks like it is the WebDataInput control.  So at least now I know it is not specific to the webdatechooser but probably to do with the way ASP accesses the resource.

I am now investigating whether it has to do with medium trust issues on the server.  Since I can't seem to find an easy way of replicating the error, it is difficult to narrow this down.  I tried using the DLLs in the APTCA and Bin-Signed folders.  When I get a chance, I'll try updating the GAC with the regular DLLs in the BIN folder.

Not sure if anyone knows what are the possible causes for a Null reference at that stage of the page cycle from the stack trace.  Does it mean that ASP can not find the dll in the GAC?   With that, I was thinking of placing all DLLs in the BIN folder and wait and see if the error shows itself again.

Good Luck!

 

  • Post Points: 5
vgk
Points 175
Replied On: Tue, Oct 6 2009 11:16 AM

Just checked and a new service pack was released 10/2  version 2122.  The docs does not say whether this was fixed but its worth a try as I'm not sure if this is a server config error or problem with the dll.

  • Post Points: 20
brianatpru
Points 45
Replied On: Wed, Oct 7 2009 11:33 AM

Not sure if this is a coquincedence or not, but we had added an IE 6 fix for png files when the problem started showing up (see below). Once I removed that the problem went away and we've been error free for at least one day now.

 

 

 

* html img,

* html .png {

position:relative;

behavior: BLOCKED EXPRESSION;

}

  • Post Points: 5
brianatpru
Points 45
Replied On: Wed, Oct 7 2009 11:35 AM

Part of my message got clipped. Trying again...

 

 * html img,

* html .png {

position:relative;

behavior: BLOCKED EXPRESSION;

}

  • Post Points: 20
Rob Hudson
Points 5,348
Replied On: Wed, Oct 14 2009 3:04 AM

I am having the exact same issue...  would love to hear if Infragistics has produced a fix or workaround.

  • Post Points: 20
Replied On: Wed, Oct 14 2009 12:11 PM

robhudson2,

If you haven't already done so, I recommend that you submit a support request, as I mentioned earlier in the thread.  I suggest this for two reasons.

First, if the cause of your issue is the same as what's already been reported, we can link your case to an existing development issue (21987) that was raised based on cases logged by others earlier in this thread.  We've applied a fix for this issue internally, which we expect to be included in the next service release we publish, assuming that it passes our testing process.

Second, we can investigate to determine whether your issue is the same as what has already been reported.  If it's a different issue, then this upcoming service release may not help you, and we'll need to research your issue in more detail to bring it to a resolution.

Vince McDonald
Senior Developer Support Engineer, MCP

Need help? Find the various ways you can ask for help from Infragistics.

  • Post Points: 65
Page 1 of 2 (21 items) 1 2 Next > | RSS