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 143:                bool HasClients = false;
Line 144:
Line 145:                if (("" + Request["whatsappNumber"]) != "")
Line 146:                    WhatsappNumber = Request["whatsappNumber"];
Line 147:

Source File: L:\gits\aggregatorsbl\BasePages\ContactPageBase.cs    Line: 145

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Aggregators.BL.BasePages.<PageLoadAsync>d__24.MoveNext() in L:\gits\aggregatorsbl\BasePages\ContactPageBase.cs:145
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Web.UI.<ExecuteTasksAsync>d__3.MoveNext() +456
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   System.Web.UI.<ProcessRequestAsync>d__554.MoveNext() +997


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