|
|
Rank: Newbie
Joined: 9/17/2008 Posts: 3 Location: Suva, Fiji
|
All nodes are published.
All nodes are visible and editable as normal from the admin area /umbraco/umbraco.aspx
Permissions have been checked (and re-applied) to the directory structure.
Tried setting XmlCacheEnabled to False in umbracoSetting.config: no change.
Server restarted.
Below are the 2 types of error prevalent in the umbracoLog table
Error loading actionhandler 'umbSearchUpdate': System.TypeInitializationException: The type initializer for 'umbracoUtilities.umbSearchResult' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at umbracoUtilities.umbSearchResult..cctor() --- End of inner exception stack trace --- at umbracoUtilities.umbSearchResult.AddPageToIndex(Int32 PageID) at umbracoUtilities.SearchUpdateActionHandler.Execute(Document documentObject, IAction action) at umbraco.BusinessLogic.Actions.Action.RunActionHandlers(Document d, IAction action)
At /junior-world-cup/pool-a/new-zealand---tonga (Refered by: ): System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.requestHandler.CreateXPathQuery(String url, Boolean checkDomain) at umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) at umbraco.WebForm1.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any pointers? Please?
|
|
 Rank: Devotee
Joined: 3/19/2008 Posts: 52 Location: London
|
Hi,
Check your /data/umbraco.config file, which is the last xml representation of your entire site. If the file does not exist then this technique prob wont help.
In the file, do you have any <node ...> elements that do NOT also have a path attribute? E.g. <node id="" path=""> ? I have previously had problems with that affecting the umbraco search package.
If you're not using the umbSearch package as part of Umbraco Utilities - take the umbSearch.dll out of your bin folder (move it to the root or out of the application for now) - that is the dll that has the action handler that is throwing the first error that you listed. This will at least get your site back up.
Then try republish everything and putting the dll's back?
What were the last changes that you made before experiencing the problems?
Neil
Disclaimer: Projectstream Ltd (UK) and its directors make no representations as to accuracy, completeness, currentness, suitability, or validity of any information provided in the Umbraco Forum and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis and is for informational purposes only.
That being said, if you think I'm mad then please tell me. Alternatively if you think I've been really helpful thats wonderful.
|
|
Rank: Newbie
Joined: 9/17/2008 Posts: 3 Location: Suva, Fiji
|
Thanks for the pointer ... but I don't have that file in the /data/ folder.
Last change before the problem? RSS package stopped working when we upgraded to 3.0.5 several weeks ago. Updated the package and re-created the RSS feeds (2). Noticed the next day that they were missing again ... so recreated, site was working fine. No further backend changes. Site operated as normal for about 6 hours and then started redirecting to noNodes.aspx
|
|
Rank: Newbie
Joined: 9/17/2008 Posts: 3 Location: Suva, Fiji
|
Solved. Cleaned out umbracoLog and restarted IIS.
This showed 2 errors of interest:
Xml wasn't saved: System.Xml.XmlException: Invalid XML document, The document does not have a root element.. at System.Xml.XmlDocument.Save(String filename) at umbraco.content.SaveContentToDisk(XmlDocument xmlDoc)
and
Error Republishing: System.Xml.XmlException: ' ', hexadecimal value 0x1F, is an invalid character. Line 26, position 49. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type, Int32& outStartPos, Int32& outEndPos) at System.Xml.XmlTextReaderImpl.ParseCDataOrComment(XmlNodeType type) at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at umbraco.content.LoadContentFromDatabase()
A search through cmsContentXml revealed the node responsible for this evil. Node deleted, app restarted, goodness restored.
A real pain to track down though. Also a bit of a puzzle as to why the umbraco admin interface keeps working and only the front-end throws a fit about the invalid character.
Bug?
|
|
|
Guest |