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
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.
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?
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
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:
Any ideas? Ps I am using latest v6 version.
Regards
Ismail
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.
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
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)
Usually means something is not right in the usyncsettings.config file, check everything is a true or false where it needs to be : )
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
is working on a reply...