umbracoRequestHandlerAdding to cache... ('/root-node-1/sub-node-2.aspx')
umbracoRequestHandlerAfter xPath query
umbracoRequestHandlerAccess checking started
umbracoRequestHandlerPage protected
Unhandled Execution Error
Object reference not set to an instance of an object. at umbraco.cms.businesslogic.web.Access.HasAccces(Int32 documentId, Object memberId) 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.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Update 1, after I deleted all nodes in recycle bin I started to get error node id not found. Somehow Umbraco links it to a node in recylce bin and I have deleted already.
Update 2: I opned umbraco.config and found that node id 1825 there. I ran query select * from dbo.umbracoNode where id = 1825 and there is no such record in database. I manually deleted the node from umbraco.config, clicked the parent node and publish everything again. I opened umbraco.config and saw 1825 appeared again!!
I really have no clue now, why the node does not exist in DB and after published it still showed up?
I created a node with wrong template, I deleted it (node id = 1825) and created a new one with correct template (node id = 1830). So you can see other than template anything else is identical. But 1825 just won't go away.
Error happened to load a page
I captured following error messages from one of my page. The message does not tell very clearly what is the problem.
Any idea how shall I debug?
---------------------------
request handler current url '/root-node-1/sub-node-2.aspx'
umbracoRequestHandler xpath: '/root/*/* [@urlName = "root-node-1"]/* [@urlName = "sub-node-2"] | /root/* [@urlName = "sub-node-2"]'
umbracoRequestHandler Just before xPath query (False, '/root/*/* [@urlName = "root-node-1"]/* [@urlName = "sub-node-2"] | /root/* [@urlName = "sub-node-2"]')
umbracoRequestHandler pageXPathQueryStart: '/root'
umbracoRequestHandler Adding to cache... ('/root-node-1/sub-node-2.aspx')
umbracoRequestHandler After xPath query
umbracoRequestHandler Access checking started
umbracoRequestHandler Page protected
Unhandled Execution Error
Object reference not set to an instance of an object.
at umbraco.cms.businesslogic.web.Access.HasAccces(Int32 documentId, Object memberId)
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.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Update 1, after I deleted all nodes in recycle bin I started to get error node id not found. Somehow Umbraco links it to a node in recylce bin and I have deleted already.
---------------------------------
[ArgumentException: No node exists with id '1825']
umbraco.cms.businesslogic.CMSNode.setupNode() +323
umbraco.cms.businesslogic.web.Access.HasAccces(Int32 documentId, Object memberId) +44
umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url) +4097
umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1294
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.PerformPreInit() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1716
Update 2: I opned umbraco.config and found that node id 1825 there. I ran query select * from dbo.umbracoNode where id = 1825 and there is no such record in database. I manually deleted the node from umbraco.config, clicked the parent node and publish everything again. I opened umbraco.config and saw 1825 appeared again!!
I really have no clue now, why the node does not exist in DB and after published it still showed up?
Please state the version of your Umbraco instance.
Sorry, forget to mention it is 4.7.1.1
The Xml section
<Template1 id="1825" parentID="1822" level="3" writerID="6" creatorID="6" nodeType="1393" template="1394" sortOrder="3" createDate="2012-03-22T11:15:02" updateDate="2012-03-22T10:16:43" nodeName="Sub Node Name" urlName="sub-node-2" writerName="Hardy Wang" creatorName="Hardy Wang" path="-1,1396,1822,1825" isDoc="">
<pageTitle>Sub Node Name</pageTitle>
<umbracoRedirect />
<topBanner />
<contentBodyText><![CDATA[<?UMBRACO_MACRO param1="11111"
param2="222222" macroAlias="MyMacro" />]]></contentBodyText>
</Template1>
<Template2 id="1830" parentID="1822" level="3" writerID="6" creatorID="6" nodeType="1826" template="1827" sortOrder="3" createDate="2012-03-22T11:07:37" updateDate="2012-03-22T11:23:52" nodeName="Sub Node Name" urlName="sub-node-2" writerName="Hardy Wang" creatorName="Hardy Wang" path="-1,1396,1822,1830" isDoc="">
<pageTitle>Sub Node Name</pageTitle>
<umbracoRedirect />
<topBanner />
<contentBodyText><![CDATA[<?UMBRACO_MACRO param1="11111"
param2="222222" macroAlias="MyMacro" />]]></contentBodyText>
</Template2>
I created a node with wrong template, I deleted it (node id = 1825) and created a new one with correct template (node id = 1830). So you can see other than template anything else is identical. But 1825 just won't go away.
is working on a reply...