Elmah shows NullReferenceException during RadAjaxControl.RenderPageInAjaxMode

2 posts, 0 answers
  1. ABC
    ABC avatar
    20 posts
    Member since:
    Mar 2012

    Posted 28 Oct 2014 Link to this post

    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)
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 30 Oct 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top