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 1950:        {
Line 1951:            string compstr = "[cr]";
Line 1952:            inpstr = inpstr.Replace(compstr, repStr);
Line 1953:        }
Line 1954:

Source File: c:\inetpub\wwwroot\bigbroweb\bigbroweb\App_Code\clib.cs    Line: 1952

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   clibname.clib.ReplaceControlChars(String& inpstr, String repStr) in c:\inetpub\wwwroot\bigbroweb\bigbroweb\App_Code\clib.cs:1952
   clibname.clib.ReplaceControlChars_CR(String& inpstr) in c:\inetpub\wwwroot\bigbroweb\bigbroweb\App_Code\clib.cs:1946
   article.Page_Init(Object sender, EventArgs e) in C:\inetpub\wwwroot\bigbroweb\bigbroweb\article.aspx.vb:149
   System.Web.UI.Control.OnInit(EventArgs e) +107
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +172
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +490


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