Server Error in '/dealer_v3' 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 22:         Get
Line 23:             If _regionId < 1 And Not Me.regionGuid.Equals(Guid.Empty) Then
Line 24:                 _regionId = uq.getRegion(Me.regionGuid).id
Line 25:             End If
Line 26:             Return _regionId

Source File: \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\BO\Controller.vb    Line: 24

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Query.get_regionId() in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\BO\Controller.vb:24
   Content.getTafLink(ProjectSettings& ps, Query& q, ControllerSettings& cs) in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\BO\Content.vb:179
   contentController.getTafLink() in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\contentController.vb:374
   contentController.getByRegion() in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\contentController.vb:271
   contentController.getContent() in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\contentController.vb:189
   contentController.output(String outputType) in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\App_Code\user\contentController.vb:437
   Content.ProcessRequest(HttpContext context) in \\fe00fx05\www_cifs_nfs$\www\com\www_boschsecurity_com\docs\dealer_v3\Content.ashx:36
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +541
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


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