Failed to retrieve data for member list all-members (7.21)
I resently upgraded a solution from 7.18 to 7.21. Suddenly I get an error when opening the buildin member list "all-members" (not sure if its a list). Fun thing. It worked for 24 hours before suddenly this:
Failed to retrieve data for member list all-members
Object reference not set to an instance of an object.
EXCEPTION DETAILS:
System.NullReferenceException: Object reference not set to an instance of an object.
STACKTRACE:
at Umbraco.Web.Models.Mapping.TabsAndPropertiesResolver.AddListView[TPersisted](TabbedContentItem`2 display, String entityType, IDataTypeService dataTypeService)
at Umbraco.Web.Editors.MemberController.GetListNodeDisplay(String listName)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4()
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)
Theres nothing in the log...
I login, go to members, expand members, click "All members", gets the error:
But I extend umbraco for a new section and implementend a custom api controller, which fetches the member data into a list. Not very nice but it works.
I have so far identified that the problem is in Umbraco.Web.Models.Mapping.TabsAndPropertiesResolver.AddListView(..) at this line:
var dt = dataTypeService.GetDataTypeDefinitionByName(customDtdName)
?? dataTypeService.GetDataTypeDefinitionById(dtdId);
For some reason, these lookups are returning null values. When recreating the problem, I noticed that the value passed to customDtdName was "List View - all-members", and the value passed to dtdId was -97. In both cases, these methods returned null.
I am seeing the following error when I try to list all members under the member data type. I upgraded the Umbraco installation from 7.1.0 to 7.2.2 and moved the member data type from staging to production using courier. I have checked the error logs under App_Data folder and there is noting written specific to this error. Can anyone help me. I don't want to re-install as this is a production environment.
Failed to retrieve data for member list all-members (7.21)
I resently upgraded a solution from 7.18 to 7.21. Suddenly I get an error when opening the buildin member list "all-members" (not sure if its a list). Fun thing. It worked for 24 hours before suddenly this:
Theres nothing in the log...
I login, go to members, expand members, click "All members", gets the error:
Any help appreciated.
best
Jesper
Hi Jesper, try removing the tabs?
Thanks Joost. Just tried - no luck ....
Hello,
I have the same problem, I updated to umbraco 7.2.1 and gets exactly the same error
Hi Daniel.
I didnt find any solution so I had to go back to 7.18. If you find a solution pls pls. post it here :)
best
Jesper
Hello Jesper,
No, so far I haven't found any solution :(
But I extend umbraco for a new section and implementend a custom api controller, which fetches the member data into a list. Not very nice but it works.
Best
Daniel
I have the same problem after upgrading to the 7.2 version at live server, at the local machine it works fine.
Thanks
7.2.1 - the same.
I just upgraded the same solution again. This time using
update-package umbracoCms -reinstall
All seem to work now.
Best Jesper
Thanks Jesper, but we have the same problem at live environment. At local machines everything is working great. Can you advise something ?
Thanks
I have so far identified that the problem is in Umbraco.Web.Models.Mapping.TabsAndPropertiesResolver.AddListView(..) at this line:
For some reason, these lookups are returning null values. When recreating the problem, I noticed that the value passed to customDtdName was "List View - all-members", and the value passed to dtdId was -97. In both cases, these methods returned null.
Please see the updated link here: http://issues.umbraco.org/issue/U4-6039
If this still does not work for anyone, please let me know.
Hi,
I am seeing the following error when I try to list all members under the member data type. I upgraded the Umbraco installation from 7.1.0 to 7.2.2 and moved the member data type from staging to production using courier. I have checked the error logs under App_Data folder and there is noting written specific to this error. Can anyone help me. I don't want to re-install as this is a production environment.
Failed to retrieve data for member list all-members
is working on a reply...