Copied to clipboard

Flag this post as spam?

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


  • Anders Brohäll 295 posts 561 karma points c-trib
    Dec 12, 2010 @ 20:55
    Anders Brohäll
    0

    Publish at: System.NullReferenceException

    Hi,
    In 4.5.2, the ability to use delayed publish stopped working. 
    I'm not 100% sure that it dis work in this installation earlier, but it nevertheless worked in the earlier versions i used. 

    In the umbracoLog i get this log item four secods after the event is triggered:

    Error publishing node: System.NullReferenceException: Object reference not set to an instance of an object.    
    at umbraco.content.UpdateDocumentCache(Document d)    
    at umbraco.content.UpdateDocumentCache(Int32 pageId)    
    at umbraco.library.UpdateDocumentCache(Int32 DocumentId)    
    at umbraco.library.PublishSingleNode(Int32 DocumentId)    
    at umbraco.presentation.publishingService.CheckPublishing(Object sender)

    I've browsed the forum for a solutions, but i ran over a lot of faulty permissions etc, not any NullReferenceException. 

    The scenario is:
    Create node => Edit contents => Set the publish date/time => Save

    This is a blocker for me, i really really need help.
    : )

  • Anders Brohäll 295 posts 561 karma points c-trib
    Dec 12, 2010 @ 21:29
    Anders Brohäll
    0

    Correction, 

    Turns out i fixed it even before posting, I had a issue with trying to write ro read-only files in App_Data.
    I didn't check if the delayed publish worked after i removed the attribute. 

    The errorLog message still remains though. Every time a node is published via the Publish at event. 
    Uncertain why...

    The blocker has been removed, even though i would like to know where the NullException comes from.

    Yours.

Please Sign in or register to post replies

Write your reply to:

Draft