Copied to clipboard

Flag this post as spam?

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


  • Barry Fogarty 493 posts 1129 karma points
    Sep 30, 2011 @ 12:00
    Barry Fogarty
    0

    Bug on blog post publish: attribute cannot be null

    Hi Anthony, If I publish a blog post without filling in a Content property I get the following error:

    (using v1.32)

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: attribute

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: attribute

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [ArgumentNullException: Value cannot be null.
    Parameter name: attribute]
       System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute) +165046
       UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type) +193
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +93
       umbraco.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e) +0
       umbraco.content.UpdateDocumentCache(Document d) +1112
       umbraco.library.UpdateDocumentCache(Int32 DocumentId) +122
       uHelpsy.Core.UmbracoAPIHelper.UpdateContentNode(Document doc, Dictionary`2 properties, Boolean publish) +221
       uHelpsy.Core.UmbracoAPIHelper.CreateContentNode(String nodeName, String nodeTypeAlias, Dictionary`2 properties, Int32 parentId, Boolean publish) +206
       uBlogsy.Web.Extensions.UmbracoExtensions.Document_AfterPublish(Document sender, PublishEventArgs e) +634
       umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) +1578
       umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +414
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +187
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +165
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
    
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Oct 11, 2011 @ 10:42
    Anthony Dang
    0

    Which property are you not filling in?

    Do you have any custom examine indexes?

    Someone else had that crash but for a different reason. Apparently the fixw as to swap 2 lines in ublogsy's source where the comments node is published.

    A quick work around would be to add a method on the before save event to add something to the property which is empty.

     

  • Eric Boen 40 posts 64 karma points
    Nov 19, 2012 @ 02:55
    Eric Boen
    0

    Hi,

    I'm using Umbraco v4.10 and uBlogsy v2.1.1.  I'm running into the same issue as above.  The one thing I have done is to copy the uBlogsy Content tree into my Content tree.  I have installed uComonents, Digibiz Advance Media Picker and Cultiv Search Engine Sitemap, no start kits.

    I don't have any custom Examine Indexes

    Thanks

    Eric

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 21, 2012 @ 14:01
    Anthony Dang
    0

    I've just installed umbraco 4.10.1 and ublogsy 2.1.1.1 and it seems to work fine.

    Try upgrading umbraco and ublogsy.

     

     

     

  • Eric Boen 40 posts 64 karma points
    Nov 21, 2012 @ 23:14
    Eric Boen
    0

    I'm running 4.10.1 and the newest ublogsy...sorry I should have noted the version numbers correctly.  The thing is I can publish I just have to do it 2 times in order for it to work.  Here is what I get on the first publish

    Thanks for looking

    Eric

    Value cannot be null.
    Parameter name: attribute

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: attribute

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [ArgumentNullException: Value cannot be null.
    Parameter name: attribute]
       System.Xml.Linq.XAttribute.op_Explicit(XAttribute attribute) +151114
       UmbracoExamine.UmbracoContentIndexer.ReIndexNode(XElement node, String type) +190
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +93
       umbraco.DocumentCacheEventHandler.Invoke(Document sender, DocumentCacheEventArgs e) +0
       umbraco.content.UpdateDocumentCache(Document d) +1032
       umbraco.library.UpdateDocumentCache(Document doc) +123
       uHelpsy.Core.UmbracoAPIHelper.UpdateContentNode(Document doc, Dictionary`2 properties, Boolean publish) +221
       uHelpsy.Core.UmbracoAPIHelper.CreateContentNode(String nodeName, String nodeTypeAlias, Dictionary`2 properties, Int32 parentId, Boolean publish) +206
       uBlogsy.Web.Extensions.UmbracoExtensions.Document_AfterPublish(Document sender, PublishEventArgs e) in D:\_PROJECTS\uBlogsy\Branches\1.32_bugs_search\uBlogsy\uBlogsy\Extensions\UmbracoExtensions.cs:118
       umbraco.cms.businesslogic.web.PublishEventHandler.Invoke(Document sender, PublishEventArgs e) +0
       umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) +1659
       umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +428
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +134
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +204
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 22, 2012 @ 14:14
    Anthony Dang
    0

    um.... i see 1.32_bugs_search 

    You're running ublogsy 1.32

    Current version is 2.1.1.1.

    If you got it from the package repo, it's out of date.

     

     


  • Eric Boen 40 posts 64 karma points
    Nov 22, 2012 @ 16:05
    Eric Boen
    0

    Doh!  I installed the old one from my local repository of packages.  Is it easier to ugrade or uninstall and reinstall.  This is a new installation, no really blog content yet.

    Thanks!

    Eic

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 22, 2012 @ 16:12
    Anthony Dang
    0

    Definitely easier to uninstall.

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

    http://issues.umbraco.org/issue/U4-1491#comment=67-4953

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

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Feb 22, 2013 @ 15:39
    Anthony Dang
    0

    Interesting

  • Blake Watt (Clerke) 106 posts 351 karma points MVP 2x
    Mar 27, 2013 @ 21:50
    Blake Watt (Clerke)
    0

    I'm using 4.11.3 for a site - no packages installed besides the path fix - and i deleted a node on the 2nd level that had children and wasn't able to republish my homepage. all other pages published but when i published the homepage it gave me the same yellow screen of death in umbraco. I deleted the items in my recycle bin and it worked. Thank you for the tip!

Please Sign in or register to post replies

Write your reply to:

Draft