Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Feb 27, 2013 @ 15:53
    Ismail Mayat
    1

    sync issue

    Kevin,

    I created some new datatypes and updated existing doc type. Most of the new doc types were mntp. I also installed uTube package and created doctype for that.  On my dev server it tries to sync but gives me a ysod:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.datatype.DataTypeDefinition.ToXml(XmlDocument xd) +232
       jumps.umbraco.usync.SyncDataType.SaveAllToDisk() +74
       jumps.umbraco.usync.uSync.RunSync() +77
       jumps.umbraco.usync.uSync.DoOnStart() +91
       Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +147
       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +174
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +30

    Any ideas? Ps I am using latest v6 version.

    Regards

     

    Ismail

  • Kevin Jump 2341 posts 14868 karma points MVP 8x c-trib
    Feb 27, 2013 @ 23:15
    Kevin Jump
    1

    Hi Ismail

    I've done quite a bit of work on DataTypes today - so i am hopeing an updated version of uSync will be easier to debug

    At the moment, i can't say from the error what's actually causing your issue. it's occuring on the point of which all datatypes are written to disk, this is done everytime (in v0.9) because umbraco doesn't fire the save event. (a bug that is fixed in 4.11.5 and 6.0.1) 

    as I've said - hopefully an update might help with this, in the next few days. 

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Feb 28, 2013 @ 09:18
    Ismail Mayat
    0

    Kevin,

    Many thanks. Have to say awesome project, once the kinks are ironed out I'm sure we will be using regularly as part of our build process.

    Regards

    Ismail

  • Janusz Stabik 37 posts 59 karma points
    Mar 07, 2014 @ 15:48
    Janusz Stabik
    0

    Hey Guys

    I'm getting a similar one to on app pool start on:

    jumps.umbraco.usync.uSync.GetSettings()

    Any ideas (love the product by the way)

     

  • Kevin Jump 2341 posts 14868 karma points MVP 8x c-trib
    Mar 07, 2014 @ 16:10
    Kevin Jump
    0

    Usually means something is not right in the usyncsettings.config file, check everything is a true or false where it needs to be : )

  • Andrew Vennells 16 posts 101 karma points
    Dec 05, 2016 @ 04:05
    Andrew Vennells
    0

    It seems like some of your uSync dependencies are missing. Maybe you did an update of uSync or have restored your package but missed a couple of files?

    The best thing to do is reinstall uSync.

    nuGet: Update-Package –reinstall uSync -ignoreDependencies

    If this doesn't work the first time, delete the config\usyncSettings.config and try again. The next file I would try removing before reinstalling is umbraco\Plugins\uSync.

    If that still doesn't work, try uninstalling uSync completely and then do a fresh reinstall

Please Sign in or register to post replies

Write your reply to:

Draft