Copied to clipboard

Flag this post as spam?

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


  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Dec 18, 2014 @ 18:46
    Jesper Ordrup
    0

    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:

    Any help appreciated.

     best
    Jesper

     

  • Joost van den Berg 3 posts 118 karma points
    Dec 18, 2014 @ 19:28
    Joost van den Berg
    0

    Hi Jesper, try removing the tabs?

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Dec 19, 2014 @ 08:30
    Jesper Ordrup
    0

    Thanks Joost. Just tried - no luck .... 

  • Daniel 5 posts 54 karma points
    Jan 07, 2015 @ 11:33
    Daniel
    0

    Hello,

    I have the same problem, I updated to umbraco 7.2.1 and gets exactly the same error

     

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Jan 07, 2015 @ 11:35
    Jesper Ordrup
    0

    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 

  • Daniel 5 posts 54 karma points
    Jan 07, 2015 @ 11:50
    Daniel
    0

    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

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Jan 09, 2015 @ 12:19
    Alex Skrypnyk
    0

    I have the same problem after upgrading to the 7.2 version at live server, at the local machine it works fine.

    Thanks

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Jan 09, 2015 @ 18:27
    Alex Skrypnyk
    0

    7.2.1 - the same.

  • Jesper Ordrup 1019 posts 1528 karma points MVP
    Jan 09, 2015 @ 21:17
    Jesper Ordrup
    1

    I just upgraded the same solution again. This time using

    update-package umbracoCms -reinstall

    All seem to work now.

    Best Jesper

  • Alex Skrypnyk 6131 posts 23950 karma points MVP 7x admin c-trib
    Jan 09, 2015 @ 22:23
    Alex Skrypnyk
    0

    Thanks Jesper, but we have the same problem at live environment. At local machines everything is working great. Can you advise something ?

    Thanks

  • Devin Bost 37 posts 78 karma points c-trib
    Jan 16, 2015 @ 19:59
    Devin Bost
    0

    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.

  • Devin Bost 37 posts 78 karma points c-trib
    Jan 17, 2015 @ 10:34
    Devin Bost
    0

    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.

  • Sudipta Das 13 posts 104 karma points
    Mar 23, 2015 @ 23:44
    Sudipta Das
    0

    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.

     

    Thanks,
    Sudipta

Please Sign in or register to post replies

Write your reply to:

Draft