Object reference not set to an instance of an object error
After install, when I click on 'Content' ( the root node ) I get:
Object reference not set to an instance of an object
Line 42: <asp:TemplateField HeaderText="Authorised">
Line 43: <ItemTemplate>
Line 44: <h3 style="padding:6px;"><%# IsAuthorsied(((Member)Container.DataItem).getProperty("forumUserIsAuthorised").Value.ToString())%></h3>
Line 45: </ItemTemplate>
Line 46: </asp:TemplateField>
Any solution to this issue? I'm running into the same issue Umbraco v6.0.3 and already applied the DateTime patch as well as readded the Examine configs as recommended in some other articles. Any help is appreciated.
ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred 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 ASP.usercontrols_nforum_dashboard_forumlatestmembers_ascx.__DataBind__control17(Object sender, EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at nForum.usercontrols.nForum.dashboard.ForumLatestMembers.GetLatestMembers() at nForum.usercontrols.nForum.dashboard.ForumLatestMembers.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() 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)
When I log in to the backoffice (on the Content Node) I also get it if I try to log in to the forum.
Object reference not set to an instance of an object error
After install, when I click on 'Content' ( the root node ) I get:
Object reference not set to an instance of an object
Anything I need to check for? i'm on umbraco v 4.7.2 (Assembly version: 1.0.4500.21031)
Was there another installation step?
Thanks, Pete
Looks like this is a bug to do with having custom member types as well as the nForum members.
I have these member types on my install:
- uBlogsy Subscriber
- Member
- Forum User ( Has all the nForum custom properties )
- ForumUser ( Has no properties at all ?! )
Is there a workaround lee / anyone ?
Thanks
Pete
Hello Pete,
Did you find any solution for your problem?
I am facing exactly the same problem with my site.
Please help me if you can.
Thanks
Shuchita
I think I modified the source code by giving the member type to the handler, instead of it assuming there is only one member type.
Pete
Hi Pete,
Thanks for your reply. I have not checked it yet. I will get back to you once I check it.
Shuchita
Any solution to this issue? I'm running into the same issue Umbraco v6.0.3 and already applied the DateTime patch as well as readded the Examine configs as recommended in some other articles. Any help is appreciated.
I have what looks like the same issue.
I get:
ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 12] An unhandled exception occurred
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 ASP.usercontrols_nforum_dashboard_forumlatestmembers_ascx.__DataBind__control17(Object sender, EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource)
at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at nForum.usercontrols.nForum.dashboard.ForumLatestMembers.GetLatestMembers()
at nForum.usercontrols.nForum.dashboard.ForumLatestMembers.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
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)
When I log in to the backoffice (on the Content Node) I also get it if I try to log in to the forum.
Any pointers?
Im running Umb 6.1.6 and nForum 1.7
is working on a reply...