Do you use any special datatypes or any other thing that isn't default in umbraco? Looks like there's something that is compatible with v3, but isn't with v4
The odd thing there is I have two home pages in this umbraco installation for different sites based on the same nodelist & doctypes. One works, but the other throws up this error.
*scratches head*
I'll dive back in & see what other evidence I can pick out.
Object reference not set to an instance of an object.
Hi guys,
After a long couple of days my brain is close to shutting down.
Just upgraded from V3 - V4.0.2.1 & am having this Object Reference error occur with the below stack trace.
This may be a simple fix but my head is about to implode. - Appreciate any help. :)
<table border="0" cellspacing="0" cellpadding="0" align="center"> <tbody><tr> <td style="padding: 0pt 9pt;" align="left" valign="top"><pre><span style="font-size: 9pt; font-family: "Lucida Console";">[NullReferenceException: Object reference not set to an instance of an object.]</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CleanNode(Lexer lexer, Node node) +493</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +61</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +39</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +39</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +39</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +39</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Clean.CreateStyleProperties(Lexer lexer, Node node) +39</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span><span> </span>TidyNet.Clean.CleanTree(Lexer lexer, Node doc) +23</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Tidy.ParseInternal(Stream input, String file, Stream Output, TidyMessageCollection messages) +534</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>TidyNet.Tidy.Parse(Stream input, Stream output, TidyMessageCollection messages) +41</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>umbraco.cms.helpers.xhtml.TidyHtml(String html) +372</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>umbraco.library.Tidy(String StringToTidy, Boolean LiveEditing) +5</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>umbraco.editorControls.tinyMCE3.TinyMCE.Save() +219</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +91</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>umbraco.controls.ContentControl.savePublish(Object Sender, ImageClickEventArgs e) +19</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +108</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +118</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13</span></pre> <pre><span style="font-size: 9pt; font-family: "Lucida Console";"><span> </span>System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36</span></pre> </td> </tr> </tbody> </table> </div> <span style="font-size: 9pt; font-family: "Lucida Console";">
Thanks Guys :)</span>
Ok that formatting didn't work out - try again :(
This should be better
The error only appears on publish of certain pages, but the site works fine - I just can't publish updates,
I feel its an issue with datatypes but can't seem to find the culprit.
Any other suggestions?
Do you use any special datatypes or any other thing that isn't default in umbraco? Looks like there's something that is compatible with v3, but isn't with v4
The odd thing there is I have two home pages in this umbraco installation for different sites based on the same nodelist & doctypes. One works, but the other throws up this error.
*scratches head*
I'll dive back in & see what other evidence I can pick out.
Hi sritchie,
Did you find a solution for your error.
I have the same issue and I've discovered that it's related to nested <ul> in my case.
Regards,
MisterG
I never found the root cause - I ended up starting up with a fresh Umbraco instance & all worked like a dream
is working on a reply...