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
    Pickels
    0

    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
    skiltz
    0

    Are member groups and and member types both setup?

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 06, 2010 @ 12:17
    Lee Kelleher
    0

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

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

    "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 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 06, 2010 @ 12:31
    Lee Kelleher
    0

    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? http://umbraco.codeplex.com/WorkItem/Create

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

    Cheers, Lee.

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

    Made a ticket: http://umbraco.codeplex.com/workitem/28789

    Hope I did it right. =)

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Sep 06, 2010 @ 12:41
    Lee Kelleher
    0

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

    Cheers, Lee.

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

    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/">
    <IndexAttributeFields>
    <add Name="id" />
    <add Name="nodeName"/>
    <add Name="updateDate" />
    <add Name="writerName" />
    <add Name="loginName" />
    <add Name="email" />
    <add Name="nodeTypeAlias" />
    </IndexAttributeFields>
    <IndexUserFields/>
    <IncludeNodeTypes/>
    <ExcludeNodeTypes />
    </IndexSet>

    And the following in ExamineSettings.Config in the IndexProviders section

    <add name="InternalMemberIndexer" type="UmbracoExamine.MemberLuceneExamineIndexer, UmbracoExamine"
    runAsync="true"
    supportUnpublished="true"
    supportProtected="true"
    interval="10"
    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

    Peter

     

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

    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?
    Thanks,
    C
  • Julie W 1 post 21 karma points
    Oct 13, 2010 @ 11:40
    Julie W
    0


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

     


    __________________
    http://moviesonlineworld.com

  • Simon steed 374 posts 686 karma points
    Nov 28, 2011 @ 17:35
    Simon steed
    0

    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
    0
Please Sign in or register to post replies

Write your reply to:

Draft