Copied to clipboard

Flag this post as spam?

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


  • Marc Stöcker 104 posts 560 karma points c-trib
    Nov 09, 2012 @ 16:09
    Marc Stöcker
    0

    "Found shared references to a collection"

    We sometimes receive the following error with our Courier 2.7.1 install on Umbraco 4.9:

    Found shared references to a collection: Umbraco.Courier.Persistence.V4.NHibernate.EntityClasses.UmbracoNode.ChildUmbracoNodes

     

    Here's a screenshot (sorry, no text copy+paste) of the last occurrence:

    Install is load balanced (serveral webheads), central database (MS SQL 2008).

    Any ideas? Occures "randomly" when saving a document in the backend. Recycling the app pool helps (as usual) ...

    Is upgrading to 2.7.3 RC considered a "safe action"?

    Marc.

     

  • damian vander wilt 12 posts 56 karma points
    Mar 05, 2013 @ 00:51
    damian vander wilt
    0

    I can follow up with the missing [copy]+[paste] error message. We just experienced the following (same error on umbraco v 4.8.1 (Assembly version: 1.0.4609.17579)). There are a couple posts with this topic heading but nobody has responded, has anybody advice or input to offer here?

    error:Umbraco.Courier.Core.Exceptions.PackageException: Unable to load item with id '60a31a66-7353-49b2-84ba-b078a86ab0aa' from provider 'Media Property Data' ---> Umbraco.Courier.Core.Exceptions.RetrieveException: Error retrieving item [60a31a66-7353-49b2-84ba-b078a86ab0aa] from provider [e047259a-e73b-11df-9492-0800200c9a66]. ---> NHibernate.HibernateException: Found shared references to a collection: Umbraco.Courier.Persistence.V4.NHibernate.EntityClasses.UmbracoNode.ChildUmbracoNodes at NHibernate.Engine.Collections.ProcessReachableCollection(IPersistentCollection collection, CollectionType type, Object entity, ISessionImplementor session) at NHibernate.Event.Default.FlushVisitor.ProcessCollection(Object collection, CollectionType type) at NHibernate.Event.Default.AbstractVisitor.ProcessEntityPropertyValues(Object[] values, IType[] types) at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEntities(FlushEvent event) at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEvent event) at NHibernate.Event.Default.DefaultAutoFlushEventListener.OnAutoFlush(AutoFlushEvent event) at NHibernate.Impl.SessionImpl.AutoFlushIfRequired(ISet`1 querySpaces) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.List[T]() at Umbraco.Courier.Persistence.V4.NHibernate.Helpers.CmsNodeHelper.GetNode(Guid uniqueId, ISession session) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.NHibernate\Helpers\CmsNodeHelper.cs:line 69 at Umbraco.Courier.Persistence.V4.NHibernate.Persisters.ContentPropertyDataItem.RetrieveItem[T](ItemIdentifier itemId) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Persistence.NHibernate\Persisters\ContentPropertyData.cs:line 94 at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId) --- End of inner exception stack trace --- at Umbraco.Courier.Core.ItemCrudProvider.RetrieveItem[T](ItemIdentifier itemId) at Umbraco.Courier.ItemProviders.ItemProviders.MediaPropertyItemProvider.HandlePack(ItemIdentifier id) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Core\Umbraco.Courier.Providers\ItemProviders\MediaPropertyItemProvider.cs:line 24 at Umbraco.Courier.Core.ItemProvider.Package(ItemIdentifier id) at Umbraco.Courier.RepositoryProviders.Local.Package(ItemIdentifier itemId) in c:\Program Files (x86)\teamcity\buildAgent\work\650bafc4b83aa858\Contrib\Providers\Umbraco.Courier.RepositoryProviders\Local\Local.cs:line 250 at Umbraco.Courier.Core.Packaging.RevisionPackaging.#Ab(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) --- End of inner exception stack trace --- at Umbraco.Courier.Core.Packaging.RevisionPackaging.#Ab(ItemIdentifier itemId, ItemProvider provider, QueuedItemIdentifier itemInQueue) at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.#oj() at Umbraco.Courier.Core.Packaging.RevisionPackaging.Package() at Umbraco.Courier.Core.TaskManager.#Lb(IRevisionTask value) 3/4/2013 2:30:09 PM

  • Per Ploug 865 posts 3491 karma points MVP admin
    Mar 05, 2013 @ 14:30
    Per Ploug
    0

    The error is caused by Nhibernates internal caching mechanisms, which we try our best to avoid as we always want the data as "fresh" as possible. I believe the dependency to the children collection on the umbracoNode has been removed, as it didnt serve a purpose besides it was the correct database mapping. 

  • damian vander wilt 12 posts 56 karma points
    Mar 05, 2013 @ 18:27
    damian vander wilt
    0

    Thanks Per,

    It sounds like this is related to third party internals and not  somebody modifying related content during a Courier packging/push - can you confirm that using the Backoffice whilst doing a Courier packaging is not going to be  a cause of issues? When i ran the same push (right click, Courier from a particular node in the content tree) later in the evening when i was for sure the only user in the backoffice, the Courier push ran sucessfully so i would be great to know whether to incorperate this consideration into the workflow.

    Would you advise updating to the 2.7.4 nightly  to get the code where you note "the dependency to the children collection on the umbracoNode has been removed"?

Please Sign in or register to post replies

Write your reply to:

Draft