Copied to clipboard

Flag this post as spam?

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


  • Damian Green 452 posts 1433 karma points
    Feb 19, 2014 @ 14:42
    Damian Green
    0

    Picker not working after upgrading site to v6.1.6

    {"Message":"Object reference not set to an instance of an object.","StackTrace":"   at umbraco.presentation.webservices.TreeClientService.GetInitAppTreeData(String app, String treeType, Boolean showContextMenu, Boolean isDialog, TreeDialogModes dialogMode, String functionToCall, String nodeKey)","ExceptionType":"System.NullReferenceException"}

    The above error hits when the following call is made:

    POST /umbraco/webservices/TreeClientService.asmx/GetInitAppTreeData 
    {'app':'media','showContextMenu':'false', 'isDialog':'true', 'dialogMode':'id', 'treeType':'UniversalMediaPicker', 'functionToCall':'dialogHandler', 'nodeKey':'2129$-1'}

    Any ideas?

    Maybe re-install the pciker and the vimeo provider?

    Picker still working on live version of site which is in v4.7 Umbraco.

     

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 19, 2014 @ 16:06
    Matt Brailsford
    0

    Hi Damian,

    I haven't tested it on v6x, though someone has flagged it as being compatible, so someone must have got it up and running.

    I'd probably double check the config/Trees.config file and make sure the UMP tree has been registered correctly. Also double check that the UMP dll's are in the bin folder.

    Hope that helps

    Matt

  • Damian Green 452 posts 1433 karma points
    Feb 19, 2014 @ 16:50
    Damian Green
    100

    Thanks for the heads up! 

    Just the right amount of info to nail thwe issue. :) 

    the v 4.7 site didnt have a trees.config file and the one created during the upgrade to v6 obviously missed the UMP.

    For anyone else check you have a line like this in trees.config:

      <add silent="false" initialize="false" sortOrder="0" alias="UniversalMediaPicker" application="media" title="Media" iconClosed="folder.gif" iconOpen="folder_o.gif" assembly="TheOutfield.UmbExt.UniversalMediaPicker" type="UniversalMediaPickerAppTree" action="" />

    And i guess also that you have the relevant assemblies.

    Thanks Matt! :)

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 19, 2014 @ 16:52
    Matt Brailsford
    0

    Sweet! Glad I could help.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft