Declined
Last Updated: 05 Mar 2015 08:48 by ADMIN
Sivakumar
Created on: 23 Aug 2013 13:10
Category: Ajax
Type: Bug Report
2
0x800a139e - Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException
Our project  works fine with .Net 3.5  with Telerik 2009.2.701.35  version.

When it is migrated to .Net 4.5 framework.  
It throws error like this.
"0x800a139e - Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: 
Object reference not set to an instance of an object."

Detailed Error message is given.


Unhandled exception at line 3, column 69963 in http://localhost:57537/...../Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_DefaultMasterScriptManager_TSM&compress=1&_TSM_CombinedScripts_=;
;AjaxControlToolkit,+Version=4.5.7.725,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:f3ec7948-9e31-4562-b526-b0088d3f7327:
ea597d4b:b25378d2;Telerik.Web.UI,+Version=2013.1.417.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:
en-US:42f3bd03-686e-4514-94d4-9dc03944a160:16e4e7cd:ed16cbdc:f7645509:24ee1bba:19620875:874f8ea2:f46195d3:490a9d4e:bd8f85e4:
2003d0b8:e330518b:1e771326:c8618e41:b7778d6c:e085fe68:8e6f0d33:6a6d718d:8674cba1:7c926187:c08e9f8a:a51ee93e:59462f1:
aa288e2d:82923ac3:58366029

0x800a139e - Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: 
Object reference not set to an instance of an object.

If there is a handler for this exception, the program may be safely continued.




So it is upgraded to Telerik  2013.1.417.45 version.  It is throwing  same error.  [Even tried with Latest Telerik AspnetAjax Q2 version is also throwing the same error]


I suspect that the error might be because the AjaxRadManager  and/or  skins which is implemented from  Telerik.Web.UI. Skins.dll  is causing the 
trouble. 
 
Attached Files:
2 comments
ADMIN
Deyan Enchev
Posted on: 12 Dec 2013 15:32
Hi,

The error experienced is rather generic and could occur in various cases. Therefore it will be best if you cold open a  regular support ticket and send us small runnable project which demonstrates the issue. This way we can get back to you with more straight to the point answers.
Sivakumar
Posted on: 23 Aug 2013 14:44
By adding this below code in the masterpage.cs file, I had captured the stack trace .

        protected void DefaultMasterScriptManager_AsyncPostBackError(object sender, System.Web.UI.AsyncPostBackErrorEventArgs e)
        {
            if (e.Exception.Data["{System.Collections.ListDictionaryInternal}"] != null)
            {
                DefaultMasterScriptManager.AsyncPostBackErrorMessage =
                    e.Exception.Message +
                    e.Exception.Data["{System.Collections.ListDictionaryInternal}"].ToString();
            }
            else
            {
                DefaultMasterScriptManager.AsyncPostBackErrorMessage =
                    "An unspecified error occurred.";
            }
        }


stack Trace:

   at Telerik.Web.UI.RadComboBox.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSizeDropDown(Panel container)
   at Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSize(Panel container)
   at Telerik.Web.UI.GridPagerItem.InitializePagerItem(GridColumn[] columns)
   at Telerik.Web.UI.GridPagerItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows)
   at Telerik.Web.UI.GridTableView.CreateTopPagerItem(Boolean useDataSource, GridColumn[] copiedColumnSet, Boolean isPagingEnabled, GridTHead thead)
   at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
   at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
   at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at Telerik.Web.UI.GridTableViewBase.get_Controls()
   at Telerik.Web.UI.GridTableView.GetGridTable()
   at Telerik.Web.UI.RadGrid.PrepareRowsVisibility(GridTableView view)
   at Telerik.Web.UI.RadGrid.PrepareItems()
   at Telerik.Web.UI.RadGrid.ControlPreRender()
   at Telerik.Web.UI.RadCompositeDataBoundControl.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.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)