Even though the document types are showing in the tree, they are showing errors in the right pane.
Server Error in '/' Application.
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.cms.businesslogic.template.MasterPageHelper.GetFilePath(Template t) +36
umbraco.cms.businesslogic.template.MasterPageHelper.GetFileContents(Template t) +21
umbraco.cms.businesslogic.template.Template.setupNode() +241
umbraco.cms.businesslogic.CMSNode..ctor(Guid uniqueID) +175
umbraco.cms.businesslogic.template.Template.GetAllAsList() +214
umbraco.settings.EditContentTypeNew.BindTemplates() +21
umbraco.settings.EditContentTypeNew.Page_Load(Object sender, EventArgs e) +182
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.Control.OnLoad(EventArgs e) +91
umbraco.BasePages.BasePage.OnLoad(EventArgs e) +14
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
We ended up fixing this by running SQL Profiler on the database while reloading the template tree in umbraco. This led us to find the offending sql statement, which was a single node in the umbracoNode table.
We then deleted the bad row from the umbracoNode table and everything is working fine now.
master pages not showing in templates tree
Hi all,
Strange problem here...
Although my master pages are all in the folder, they are not showing in the templates tree.
Can anyone help me here?
Thanks
Roger
Also,
Even though the document types are showing in the tree, they are showing errors in the right pane.
Server Error in '/' Application.
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:
Just tried creating a new template and it wont allow it.
resolved:
select *
from UmbracoNode n
left join cmsTemplate t on t.nodeid = n.id
where n.nodeObjectType = '6FBDE604-4178-42CE-A10B-8A2600A2F07D'
Amend broken record in DB
Hi,
I am also getting same problem.how to resolve the above issues.where we need to write that query ?
We encountered the same issue.
We ended up fixing this by running SQL Profiler on the database while reloading the template tree in umbraco. This led us to find the offending sql statement, which was a single node in the umbracoNode table.
We then deleted the bad row from the umbracoNode table and everything is working fine now.
is working on a reply...