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 549:		if(Path.GetFileName(path) == "index.aspx" || Path.GetFileName(path) == "")a.setCss(active);
Line 550://		a.setCss(active + " sub");
Line 551:		ulsub.add(new Physio.HTML.Li("open", a));
Line 552:
Line 553:		if(File.Exists(Path.GetDirectoryName(ppath) + "/news.aspx")){

Source File: c:\inetpub\physio\stub.cs    Line: 551

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Physio.HTML.Tag.closeString(StringBuilder sb) +47
   Physio.HTML.Tag.ToString() +35
   Physio.HTML.Li..ctor(String css, Tag t) +69
   Stub.gruppeMenue(Forschungsgruppe g) in c:\inetpub\physio\stub.cs:551
   ASP._kleinlogel_group_people_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\physio\~kleinlogel\group\people.aspx:7
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +275
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4238


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