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
I am getting an error every time I delete a member from Umbraco Back Office.
"[Umbraco.Web.Scheduling.IBackgroundTask] " Task has failed
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Examine.MemberValueSetBuilder.<GetValueSets>d__1.MoveNext() in D:\a\1\s\src\Umbraco.Examine\MemberValueSetBuilder.cs:line 23
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Umbraco.Web.Search.ExamineComponent.DeferedReIndexForMember.<>c__DisplayClass4_0.<Execute>b__0() in D:\a\1\s\src\Umbraco.Web\Search\ExamineComponent.cs:line 715
at Umbraco.Web.Scheduling.SimpleTask.Run() in D:\a\1\s\src\Umbraco.Web\Scheduling\SimpleTask.cs:line 21
at Umbraco.Web.Scheduling.BackgroundTaskRunner`1.<RunAsync>d__40.MoveNext() in D:\a\1\s\src\Umbraco.Web\Scheduling\BackgroundTaskRunner.cs:line 562
I don't know if that's relevant but I have a custom property editor for the Members (type Json) and a Custom Value Converter.
I have also notice that it doesn't remove the deleted member from the MembersIndex, so for now I have added a event on MemberService.Deleted to rebuild the Index
Does anyone know why this is happening?
An update to that, the custom property editor is not relevant with this issue, I have test it with another member type which hasn't this property and the error still occurs.
I am facing the same issue. Do you have any updates on this?
No, Unfortunately no..
Alright, I will report a bug then and will let you know about the issue link.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted