Copied to clipboard

Flag this post as spam?

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


  • Nik Wahlberg 639 posts 1237 karma points MVP
    Aug 28, 2011 @ 13:35
    Nik Wahlberg
    0

    NullReferenceException Document_BeforePublish

    Hi, I'm running onto the following error all of a sudden with the uBlogsy package when trying to publish a new post. 

    [NullReferenceException: Object reference not set to an instance of an object.]
       uBlogsy.BusinessLogic.EventHandlers.UmbracoExtensions.Document_BeforePublish(Document sender, PublishEventArgs e) in C:\_Projects\_Anthony\Branches\1.4_comment_subscription\uBlogsy\uBlogsy.BusinessLogic\EventHandlers\UmbracoEventHandlers.cs:143
       umbraco.cms.businesslogic.web.Document.FireBeforePublish(PublishEventArgs e) +27
       umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) +74
       umbraco.cms.presentation.editContent.Publish(Object sender, EventArgs e) +236
       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
    
    I can't be 100%, but I don't think this was happening earlier in the same environment. This is .Net 4 umbraco 4.7 uBligsy 1.4. I have published posts in the past (and comments as well). 
    This is a production issue at this point, so any clues would be much appreciated!

    Thanks,
    Nik

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Aug 28, 2011 @ 13:37
    Nik Wahlberg
    0

    DOH! Looks like I just double posted on somethign I posted earlier. What a dufus :) 

    http://our.umbraco.org/projects/starter-kits/ublogsy/ublogsy-bugs/22241-Error-publishing-post

    Thanks,
    Nik 

Please Sign in or register to post replies

Write your reply to:

Draft