Object reference not set to an instance of an object. at Microsoft.SharePoint.Publishing.Navigation.SPNavigationSiteMapNode.UpdateSPNavigationNode(SPNavigationNode node, SPNavigationNode previous, String name, String url, String description, String target, String audience, Boolean forceCreate)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.HandleJavaScriptNavigationNode(Guid objId, Int32 nodeId, String name, String url, String description, NodeTypes nodeType, String target, String audience, SPNavigationNodeCollection collection, Dictionary`2 oldDictionary)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.AreaNavigationSettingsPage.OKButton_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Needless to say I have no idea what is going on. I thought I would post it here in the odd ball chance that someone had already run into this problem and has a solution. Any ideas are much appreciated.
David
You can use "Single Line Text" field or "Hyperlink" field in a list to insert links
M.
Hi.
I get the same problem in SharePoint 2010, using a custom masterpage, when I go in to Navigation settings under site settings, and try to add a link.
Any luck in finding the solution?
Regards.
I found the solution. The problem was that I had named a div in my masterpage to container, like this
<div id="container" class="container">
I renamed it to something else, in my case ContentContainer, and now it works.
- Proposed as answer by WannabeSharepointGuru Thursday, August 26, 2010 7:21 AM
- Marked as answer by Cornelius J. van DykEditor Wednesday, September 11, 2013 5:39 PM
I just had the exact same problem in SharePoint 2010 with a custom masterpage. Changing id="container" to a different id solved my problem as well.
Thanks.
Hi ,
Getting the same error in logs in Sharepoint 2013 Environment using "Seattle.master" as MasterPage.
When we go to SiteSettings ->Navigation
For Global Navigation option->Select Structural Navigation(do not selecting Show subsites,Show pages).
For Current Navigation option->Select Structural Navigation(do not selecting Show subsites,Show pages).
For Structural Navigation: Sorting Option ->Select Sort Manually(do not select Sort pages automatically).
For Structural Navigation: Editing and Sorting Option->Add a Heading or Link under under Global Navigation
Click Ok.
Anyone Please