This project has moved. For the latest updates, please go here.

Error: Object reference not set to an instance of an object.

Topics: Developer Forum
Sep 14, 2010 at 9:22 PM
Edited Sep 14, 2010 at 9:23 PM

I have been getting the following error with RssToolkit when trying to consume a feed from BlogEngine. The Blogengine is fine and I can consume the feed from I.E. stack Trace reports the following:


[NullReferenceException: Object reference not set to an instance of an object.]
   RssToolkit.Rss.RssDocumentBase.Load(Uri url) in C:\Dev\CodePlex\Active\ASPNETRSSToolkit\v2\RssToolkit\Rss\RssDocumentBase.cs:127
   RssToolkit.Web.WebControls.RssDataSource.get_Rss() in C:\Dev\CodePlex\Active\ASPNETRSSToolkit\v2\RssToolkit\Web\WebControls\RssDataSource.cs:92
   RssToolkit.Web.Design.RssDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) in C:\Dev\CodePlex\Active\ASPNETRSSToolkit\v2\RssToolkit\Web\Design\RssDataSourceView.cs:64
   System.Web.UI.WebControls.Repeater.GetData() +35
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
   System.Web.UI.WebControls.Repeater.DataBind() +75
   System.Web.UI.WebControls.Repeater.EnsureDataBound() +55
   System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +15
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842