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.
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.
has there been any resolution do this issue?
vgk said:Will post if I continue to see this.
I’ve opened a trouble ticket for this one, as it seems to be a reoccurring issue for me.
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
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!
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.
I'm experiencing the same issue and just submitted a ticket. Wow I hope they fix this soon I've had it happen in two different applications now.
Have you resolve this problem ?
I have the same probleme with WebDateChooser et WebTextEdit (Infragistics 2009 Volume 2)
I submit a support request but I did not get response yet.
FYI ... see the thread addressing this in 2009.2. I was having this issue in 2009.1 and it continues in 2009.2.
http://news.infragistics.com/forums/p/34249/186617.aspx#186617
Rob,
robhudson2 said:How long does it take for a Infragistics to reply to a support request?
It's not yet certain whether the behavior you've described is caused by the development issue I mentioned before.
I'm having your case assigned now. To be fair, this will take us time to verify what's happening in your situation. Thank you for your patience.
Hi Rob,
I haven't seen this issue on our production server since I added the WebDateChooser dll to the GAC. Mind you it was already in the GAC, but since I was getting this error and on occasion one that says:
System.IO.FileNotFoundException: Could not load file or assembly 'Infragistics2.WebUI.WebDateChooser.v8.3' or one of its dependencies. The system cannot find the file specified.File name: 'Infragistics2.WebUI.WebDateChooser.v8.3' at System.Reflection.Assembly._nLoad(AssemblyName fileName, Str
I decided to add a fresh copy to the GAC in case it got corrupted somehow.
I used the DLL from the "C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 3 CLR 2.0\ASP.NET\Bin" and not from APTCA or Signed folders.
Running .net 2.0 on win2000 advanced server.
Hope this helps