Copied to clipboard

Flag this post as spam?

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

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Feb 05, 2012 @ 12:09
    Simon Dingley

    UmbracoExamine.UmbracoContentIndexer.ReIndexNode Exception on Publish

    After adding a new custom Examine IndexSet I get this when publishing nodes of the type that the index set is indexing. I've read of similar issues on the forum but got the impression this was resolved - any pointers appreciate?

    [ArgumentNullException: Value cannot be null.
    Parameter name: attribute]
       System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute) +91251
       UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type) +107
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +81
       UmbracoExamine.UmbracoEventManager.content_AfterUpdateDocumentCache(Document sender, DocumentCacheEventArgs e) +172
       umbraco.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e) +0
       umbraco.content.FireAfterUpdateDocumentCache(Document sender, DocumentCacheEventArgs e) +26
       umbraco.content.UpdateDocumentCache(Document d) +749
       umbraco.content.UpdateDocumentCache(Int32 pageId) +52
       umbraco.library.UpdateDocumentCache(Int32 DocumentId) +106
       umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +383
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.controls.ContentControl.savePublish(Object Sender, ImageClickEventArgs e) +46
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
       System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


  • Euan Rae 105 posts 135 karma points
    Feb 05, 2012 @ 13:10
    Euan Rae

    Are you using multiple document types in the <IncludeDocTypes> setting?

    I've had a similar issue and it was because the custom index was indexing fields that didn't exist in all the doc types that index set was for.  If that's the case the way to get around it is to manually add the field (if it's there) in the GatheringNodeData event.



  • Simon Dingley 1470 posts 3427 karma points c-trib
    Feb 05, 2012 @ 13:16
    Simon Dingley

    No I am only using a single doctype, index configured as follows:

         <IndexSet SetName="EventIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Events/">
                <add Name="id" />
                <add Name="nodeName" />
                <add Name="updateDate" />
                <add Name="writerName" />
                <add Name="path" />
                <add Name="nodeTypeAlias" />
                <add Name="eventName" />
                <add Name="shortDescription" />
                <add Name="startDate" />
                <add Name="endDate" />
                <add Name="eventImage" />
                <add Name="postcode" />
                <add Name="Event" />
            <ExcludeNodeTypes />
  • Euan Rae 105 posts 135 karma points
    Feb 05, 2012 @ 13:36
    Euan Rae

    OK, not that then...

    Have you tried removing the eventImage field to see if it is that issue with XML serilization?

  • Sanjay Zalke 10 posts 30 karma points
    Sep 25, 2012 @ 12:37
    Sanjay Zalke

    Hi Simon/Euon,

    Did you resolve this issue. I am also facing same issue, I have index with no user fields or exclude nodes, but still it fails to save and publish the pages.

    If I remove the index completely the publish works fine.

    Here is the index defination.

    <IndexSet SetName="myIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/myIndexFolder/" >
          <add Name="id" />
          <add Name="nodeName" />
          <add Name="path" />
          <add Name="nodeTypeAlias" />
          <add Name="parentID" />
        <IndexUserFields />
        <IncludeNodeTypes />
        <ExcludeNodeTypes />


  • Simon Dingley 1470 posts 3427 karma points c-trib
    Sep 25, 2012 @ 13:17
    Simon Dingley

    I don't recall exactly but it is case sensitive so can you check that things like parentID should not actually be parentId ?

  • Robert Hughes 87 posts 110 karma points
    Nov 20, 2012 @ 04:02
    Robert Hughes

    Anyone get to the bottom of this one? Now I got me this issue.

  • Robert Hughes 87 posts 110 karma points
    Nov 20, 2012 @ 04:19
    Robert Hughes

    Did some debugging (got source for Examine) and I was getting a 'no node published for id XXX' when it was trying to re-index the node. Some very unsafe code there - was actually failing writing a log funnily enough. Not sure why my node is not published however.

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Nov 20, 2012 @ 08:27
    Simon Dingley

    I'm pretty sure in my case I tracked it down through a process of elimination by adding the "IndexUserFields" proeprties in one by one until the problem occurred. I think it was down to a misspelled or missing doctype property.

  • Fabio Milheiro 74 posts 136 karma points
    Feb 22, 2013 @ 12:19
    Fabio Milheiro

    Shannon Deminick's comment worked for me. Deleted items in recycle bin.

  • Craig Mayers 1 post 21 karma points
    Aug 12, 2013 @ 14:28
    Craig Mayers

    Shannon Deminick's comment also worked for me, I completely emptied the Recycle Bin then 'Republished Entire Site' and then the Save and Publish option was working again for me.


  • Murray Roke 503 posts 966 karma points c-trib
    Nov 06, 2013 @ 04:34
    Murray Roke

    Just 'Republishing Entire Site' worked for me

  • Bjørn Fridal 274 posts 784 karma points
    Mar 06, 2014 @ 10:50
    Bjørn Fridal


    I had the same problem after making a copy of an EC2 Umbraco website.

    I deleted all the ExamineIndexes in APP_Data\TEMP and now I can publish again :)


Please Sign in or register to post replies

Write your reply to: