Server Error in '/' Application.

Value cannot be null.
Parameter name: String

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.ArgumentNullException: Value cannot be null.
Parameter name: String

Source Error:


Line 477:        TreeProvider tp = new TreeProvider(CMS.Membership.MembershipContext.AuthenticatedUser);
Line 478:
Line 479:        CMS.DocumentEngine.TreeNode currentnode = tp.SelectSingleNode(int.Parse(nodeid));
Line 480:
Line 481:        //pageh1template = currentnode.GetStringValue("H1Template", "").Replace("{%DocumentName%}", currentnode.DocumentName);

Source File: D:\www\topcentrum\CMS\CMSWebParts\NC\NC_List.ascx.cs    Line: 479

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14286622
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +174
   NC_list.Page_Load(Object sender, EventArgs e) in D:\www\topcentrum\CMS\CMSWebParts\NC\NC_List.ascx.cs:479
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0