Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
Are member groups and and member types both setup?
Which version of Umbraco? (which database, etc?)
"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.
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! :-)
Made a ticket: http://umbraco.codeplex.com/workitem/28789
Hope I did it right. =)
Yep, looks right to me! :-) I've commented and voted on it.
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
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" />
Hi !I've just visited this forum. Happy to get acquainted with you. Thanks.
I'm still getting this error on 4.7.1 and have the above Examine settings enabled - anyone any ideas?
I reopen issue for 4.7.1
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted