Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete 213 posts 285 karma points
    Sep 24, 2012 @ 18:06
    Pete
    0

    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>

    Source File: \usercontrols\nForum\dashboard\ForumLatestMembers.ascx    Line: 44

     

     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

  • Pete 213 posts 285 karma points
    Sep 25, 2012 @ 13:55
    Pete
    0

    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

  • Shuchita 41 posts 150 karma points
    Apr 03, 2013 @ 12:15
    Shuchita
    0

    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

  • Pete 213 posts 285 karma points
    Apr 04, 2013 @ 19:40
    Pete
    0

    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

  • Shuchita 41 posts 150 karma points
    Apr 05, 2013 @ 08:17
    Shuchita
    0

    Hi Pete,

    Thanks for your reply. I have not checked it yet. I will get back to you once I check it.

    Shuchita

  • Mark Zawodny 9 posts 72 karma points
    Sep 05, 2013 @ 01:51
    Mark Zawodny
    0

    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.

  • William Charlton 171 posts 218 karma points
    Jan 14, 2014 @ 13:29
    William Charlton
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft