Copied to clipboard

Flag this post as spam?

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

  • Pickels 75 posts 108 karma points
    Sep 06, 2010 @ 12:09

    Null reference exception while using the member search.

    Anybody ever ran into this error when searching for members?


    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.presentation.umbraco.members.MemberSearch.ButtonSearch_Click(Object sender, EventArgs e) +606
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
  • skiltz 501 posts 701 karma points
    Sep 06, 2010 @ 12:16

    Are member groups and and member types both setup?

  • Lee Kelleher 4013 posts 15773 karma points MVP 12x admin c-trib
    Sep 06, 2010 @ 12:17
    Lee Kelleher

    Which version of Umbraco? (which database, etc?)

  • Pickels 75 posts 108 karma points
    Sep 06, 2010 @ 12:26

    "Are member groups and member types both setup?"

    In the control panel I have a Member Group named: subscribe and a Member type: default. In the webconfig I have set defaultMemberTypeAlias="default".

    "Which version of Umbraco? (which database, etc?)"

    Sorry, should have mentioned that. 4.5.1 is the version and MySql is the database.

  • Lee Kelleher 4013 posts 15773 karma points MVP 12x admin c-trib
    Sep 06, 2010 @ 12:31
    Lee Kelleher

    Hi Pickels, just tried it on my v4.5.2 (with MS-SQL), got the same exception! :-(

    I'd say raise an ticket on CodePlex?

    Let us know if you do, I'll vote for it! :-)

    Cheers, Lee.

  • Pickels 75 posts 108 karma points
    Sep 06, 2010 @ 12:39

    Made a ticket:

    Hope I did it right. =)

  • Lee Kelleher 4013 posts 15773 karma points MVP 12x admin c-trib
    Sep 06, 2010 @ 12:41
    Lee Kelleher

    Yep, looks right to me! :-)  I've commented and voted on it.

    Cheers, Lee.

  • Peter Gregory 407 posts 1612 karma points MVP 3x admin c-trib
    Sep 22, 2010 @ 10:35
    Peter Gregory

    Hi Guys

    Were your 4.5.2 versions upgraded from 4.5.1?  If so could you check that the following indexset is in the ExamineIndex.Config

        <!-- The internal index set used by Umbraco back-office for indexing members - DO NOT REMOVE -->
    <IndexSet SetName="InternalMemberIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/InternalMember/">
    <add Name="id" />
    <add Name="nodeName"/>
    <add Name="updateDate" />
    <add Name="writerName" />
    <add Name="loginName" />
    <add Name="email" />
    <add Name="nodeTypeAlias" />
    <ExcludeNodeTypes />

    And the following in ExamineSettings.Config in the IndexProviders section

    <add name="InternalMemberIndexer" type="UmbracoExamine.MemberLuceneExamineIndexer, UmbracoExamine"
    analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>

    And the following in the SearchProviders

    <add name="InternalMemberSearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine"
    analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>

    If they are missing examine knows nothing about members.  In the 4.5.1 build these sections were missing.  in 4.5.2 the config files were amended to include them.

    Hope that helps



  • Chad Rosenthal 272 posts 474 karma points
    Oct 12, 2010 @ 15:00
    Chad Rosenthal

    I'm also having this issue in a version of 4.5.2 that was an upgrade from v4.5.1. I looked at the ExamineIndex and ExamineSettings and I have all of the entries that you state that we should have. I'm also having an issue creating new members.

            <add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="PhoneType" passwordFormat="Hashed" umbracoApprovePropertyTypeAlias="isApproved" umbracoLockPropertyTypeAlias="isLocked" />
    Is there anything else that I should try to fix this?
  • Julie W 1 post 21 karma points
    Oct 13, 2010 @ 11:40
    Julie W

    Hi !
    I've just visited this forum. Happy to get acquainted with you. Thanks.



  • Simon steed 373 posts 685 karma points
    Nov 28, 2011 @ 17:35
    Simon steed

    I'm still getting this error on 4.7.1 and have the above Examine settings enabled - anyone any ideas?

  • Petr Snobelt 923 posts 1535 karma points
    Apr 16, 2012 @ 20:04
    Petr Snobelt
Please Sign in or register to post replies

Write your reply to: