Copied to clipboard

Flag this post as spam?

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


  • Matt Bliss 176 posts 234 karma points c-trib
    Dec 07, 2011 @ 15:11
    Matt Bliss
    0

    Cannot deploy content data correctly.

    Umbraco 4.7.1 & Courier 2.5 (full version)

    Right click deploy is not deploying all content correctly:

    • Some transferred content nodes are not attached to their parent but are created as root level nodes.
    • Most of the content data within nodes is missing
    • Data for the uComponents MNTP is not matching nodes id correctly leaving some nodes showing 'NODE NO LONGER EXISTS' in the tree, or preventing nodes from being opened with a YSOD (looking in the umbracoLog table I find the following):
    At /umbraco/editContent.aspx?id=1406 (Referred by: http://gfo-dev.mbliss.co.uk/umbraco/umbraco.aspx): System.NullReferenceException: Object reference not set to an instance of an object.     at uComponents.Core.DataTypes.MultiNodeTreePicker.MNTP_DataEditor.SelectedValues_ItemDataBound(Object sender, RepeaterItemEventArgs e)     at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)     at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)     at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Creating a revision, transferring it and doing a compare and install, also does not work and produces errors:

    Umbraco.Courier.Core.Exceptions.ExtractionManagerException: There was a problem with extracting database information for the item: Name:Document Home Property Data | Id:523b7fb9-7452-47fc-8f5c-d110fa91aae0 | Provider:PropertyData. Stacktrace: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.Courier.uComponents.MultinodePicker.ExtractingProperty(Item item, ContentProperty propertyData)
       at Umbraco.Courier.DataResolvers.PropertyDataResolverProvider.Extracting(Item item)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
       at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
       at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.•(Item item, Boolean isDependency)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.Courier.uComponents.MultinodePicker.ExtractingProperty(Item item, ContentProperty propertyData)
       at Umbraco.Courier.DataResolvers.PropertyDataResolverProvider.Extracting(Item item)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
       at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
       at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.•(Item item, Boolean isDependency)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
       --- End of inner exception stack trace ---
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
       at Umbraco.Courier.Core.Tasks.ExtractionTask.Run()
       at Umbraco.Courier.Core.TaskManager.(IRevisionTask value)
     07/12/2011 14:05:12

    What is the cause of these type of errors?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 07, 2011 @ 15:15
    Per Ploug
    0

    The transfered nodes, not matching a parent, are they set as published nodes? Courier goes through you content transfer and if you trying to transfer nodes that does not have a parent at the destination site, is "parked" in the root of the site as unpublished nodes. When the parent is then transfered later they will be moved into place automaticly.

    This happens usually because you reference nodes from a picker like the mntp, which does not already have their parent moved to the destination site. 

    The null reference error is most likely caused by a null value in some of your property data, latest umbraco.courier.ucomponents dll on nightly should have taken care of this.

  • Matt Bliss 176 posts 234 karma points c-trib
    Dec 07, 2011 @ 15:34
    Matt Bliss
    0

    Thanks Per,

    The transfered nodes, not matching a parent, are they set as published nodes?

    Yes those nodes were published. (actually this is not a great issue as it is only two nodes and their children and I can quickly move them back into the correct place, it is the later issues that are causing a real problem)

    Courier goes through you content transfer and if you trying to transfer nodes that does not have a parent at the destination site, is "parked" in the root of the site as unpublished nodes. When the parent is then transfered later they will be moved into place automaticly.

    I was transferring an entire site content into an initially empty destination installation so on the first transfer there were no nodes at all, but all were published in the source site, shouldn't that be possible and taken care of by the dependancies?

    This happens usually because you reference nodes from a picker like the mntp, which does not already have their parent moved to the destination site.

    Isn't that the idea behind the dependancies if I either right click on the root node and transfer or package the entire site? If not should a subsequent transfer override these values once all nodes are in place because this doesn't appear to happen either.

    Maybe I've misunderstood, I would be very happy to be told I've got it wrong if there is a right way to be doing this :)

    The null reference error is most likely caused by a null value in some of your property data, latest umbraco.courier.ucomponents dll on nightly should have taken care of this.

    I'll download that and give it a try and report back progress.

    Many thanks,

    Matt 

  • Matt Bliss 176 posts 234 karma points c-trib
    Dec 07, 2011 @ 16:50
    Matt Bliss
    0

    Thanks Per, 

    I've upadated the ucomponents dll to the latest file from the Courier_2.5.1_2.5.1.71_hotfix.zip file from the nightly builds on both sites

    Recycled both app pools

    Removed all Revisions

    Removed all Content nodes from the target

    Removed all Media nodes from the target

    From this starting point. A right click deploy gives the same results and deploying from a revision containing everthing gives the following error:

    Umbraco.Courier.Core.Exceptions.ExtractionManagerException: There was a problem with extracting database information for the item: Name:Document Home Property Data | Id:523b7fb9-7452-47fc-8f5c-d110fa91aae0 | Provider:PropertyData. Stacktrace: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.Courier.uComponents.MultinodePicker.ExtractingProperty(Item item, ContentProperty propertyData)
       at Umbraco.Courier.DataResolvers.PropertyDataResolverProvider.Extracting(Item item)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
       at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
       at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.•(Item item, Boolean isDependency)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.Courier.uComponents.MultinodePicker.ExtractingProperty(Item item, ContentProperty propertyData)
       at Umbraco.Courier.DataResolvers.PropertyDataResolverProvider.Extracting(Item item)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Umbraco.Courier.Core.ResolutionManager.(Item item, ItemEvent e)
       at Umbraco.Courier.Core.ItemProvider.Extract(Item item)
       at Umbraco.Courier.RepositoryProviders.Local.ExtractItem(Item item, Boolean overwrite)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.•(Item item, Boolean isDependency)
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.()
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
       --- End of inner exception stack trace ---
       at Umbraco.Courier.Core.Extraction.RevisionExtraction.Extract()
       at Umbraco.Courier.Core.Tasks.ExtractionTask.Run()
       at Umbraco.Courier.Core.TaskManager.(IRevisionTask value)
     07/12/2011 15:41:20
     

    Any further thoughts?

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 07, 2011 @ 20:04
    Per Ploug
    0

    Could you zip that revision and sent it to me, will have to look into why it's doing this

    per at umbraco com

  • Matt Bliss 176 posts 234 karma points c-trib
    Dec 07, 2011 @ 23:35
    Matt Bliss
    0

    Thanks Per,

    I'll send that over in the morning.

    Matt

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Dec 08, 2011 @ 21:41
    Per Ploug
    0

    Hi Matthew

    Thanks for the files, been going through them, and the error you see with the null values in properties is fixed in the latest nightly, but you will need the core.dll and dataresolvers.dll as well as the ucomponents.dll to fix

    After a install, there is an issue with a mntp on the home node, but I cannot see which one, they all seem to have right configs, and looking at the content data it also looks fine, but hard for me to tell without knowing the site

    /Per

  • Matt Bliss 176 posts 234 karma points c-trib
    Sep 17, 2012 @ 19:45
    Matt Bliss
    0

    This was fixed in a later update Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft