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:


Line 27: 
Line 28: 		XmlNode themeNode = xml.SelectSingleNode("theme");
Line 29: 		_themeName = themeNode.Attributes["name"].Value;
Line 30: 		_description = themeNode.Attributes["description"].Value;
Line 31: 		_parentPortfolio = themeNode.Attributes["parentPortfolio"].Value;

Source File: \\nawinfs05\home\users\web\b154\ipw.tonyerns\Theme.aspx    Line: 29

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.theme_aspx.Page_Load() in \\nawinfs05\home\users\web\b154\ipw.tonyerns\Theme.aspx:29
   System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +11
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +11138253
   System.Web.UI.Control.OnLoad(EventArgs e) +131
   System.Web.UI.Control.LoadRecursive() +65
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175