Server Error in '/' Application.

Value cannot be null.
Parameter name: input

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: input

Source Error:


Line 230:
Line 231:    Public Function IsRegExpMatch(ByVal pInput As String, ByVal pPattern As String) As Boolean
Line 232:        If Regex.IsMatch(pInput, pPattern) Then
Line 233:            Return True
Line 234:        Else

Source File: G:\supremo\App_Code\clsValidations.vb    Line: 232

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: input]
   System.Text.RegularExpressions.Regex.IsMatch(String input) +6728221
   System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern) +88
   clsValidations.IsRegExpMatch(String pInput, String pPattern) in G:\supremo\App_Code\clsValidations.vb:232
   IPIS_ERSheetHtml.Page_Load(Object sender, EventArgs e) in G:\supremo\ERSheetHtml.aspx.vb:107
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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