Copied to clipboard

Flag this post as spam?

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


  • FreedomChicken 12 posts 33 karma points
    Apr 20, 2011 @ 03:17
    FreedomChicken
    0

    404 on all pages unless I manually republish every node

    3 times in the last month I've had this issue on all of our sites where every node seems to have lost it's urlName property. Every node, either when trying to preview it, access it via /{Id}.aspx or the actual url it should be attached to with or without a .aspx on it.

    I'm currently running Umbraco 4.7 on Server 2008 with Sql.

    We have approx 30 websites on one Umbraco install ranging from 20-300 nodes per site.

    I am able to correct the problem only by manually republishing every node. The "Republish Entire Site" does no good. So as a fix once this happens I have created a macro which will loop through every published node and republish it and I just republish the root level node for each site and access the macro via an alternate template to let it run and crawl through the site.

     

    Object reference not set to an instance of an object.

    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.NullReferenceException: Object reference not set to an instance of an object.

    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:

     

    [NullReferenceException: Object reference not set to an instance of an object.]

       umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url) +4432

       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1061

       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

       System.EventHandler.Invoke(Object sender, EventArgs e) +0

       System.Web.UI.Page.OnPreInit(EventArgs e) +8876158

       System.Web.UI.Page.PerformPreInit() +31

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    Request Details

    Session Id:

    gvjbfrvx5hwoye0t4tjsyhwv

    Request Type:

    GET

    Time of Request:

    4/19/2011 12:39:55 PM

    Status Code:

    500

    Request Encoding:

    Unicode (UTF-8)

    Response Encoding:

    Unicode (UTF-8)

     

    Trace Information

    Category

    Message

    From First(s)

    From Last(s)

    aspx.page

    Begin PreInit

    umbracoInit

    handling request

    2.54222254504413E-05

    0.000025

    request handler

    current url ''

    0.000173485736315649

    0.000148

    requestHandler

    Redirecting to domain: www.fishhawkranch.com, nodeId: 19439

    1.18578394740114

    1.185610

    umbracoRequestHandler

    xpath: ' | /root/* [@urlName = ""]'

    1.18589653154242

    0.000113

    umbracoRequestHandler

    Just before xPath query (False, ' | /root/* [@urlName = ""]')

    1.18592083630741

    0.000024

    umbracoRequestHandler

    pageXPathQueryStart: '/root'

    1.18593731884918

    0.000016

    umbracoRequestHandler

    After xPath query

    1.18612281728544

    0.000185

    umbracoRequestHandler

    Access checking started

    1.18616416332243

    0.000041

    Unhandled Execution Error


    Object reference not set to an instance of an object.
    at umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url)
    at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Web.UI.Page.OnPreInit(EventArgs e)
    at System.Web.UI.Page.PerformPreInit()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    1.18660109036204

    0.000437

  • Brendan Rice 304 posts 468 karma points
    Jan 14, 2013 @ 00:15
    Brendan Rice
    0

    Did you get a fix for this Iam getting the same error and can't get to the bottom of it, any help would be great.

Please Sign in or register to post replies

Write your reply to:

Draft