This is a migrated thread and some comments may be shown as answers.

Elmah shows NullReferenceException during RadAjaxControl.RenderPageInAjaxMode

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ABC
Top achievements
Rank 1
ABC asked on 28 Oct 2014, 07:48 AM
Sometimes my Elmah logs shows(note there is no namespace of my application code),

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Web.UI.AsyncPostBackTrigger.HasTriggered()
   at System.Web.UI.UpdatePanelTriggerCollection.HasTriggered()
   at System.Web.UI.PageRequestManager.ProcessUpdatePanels()
   at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Page.Render(HtmlTextWriter writer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   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 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 30 Oct 2014, 02:58 PM
Hi,

The presented error is rather generic and could appear in various different scenarios. Therefore in order to be easier for us to isolate the root cause of the issue I would ask you to provides some more details on your application.
Sharing your page markup as  well as the related code behind will give us an option to research on your case further. Also could you please try using regular asp UpdatePanel for ajaxifying your page instead of RadAjax components and see what the difference in this case is?

Regards,
Maria Ilieva
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
ABC
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or