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 120:        Session("CURRENT_ITEM_ID") = iAssetID
Line 121:		
Line 122:		Dim FinanceText As String = "<a href=" & GetXMLSiteProps(Me,"SITE_URL") & "finance/new-bike/" & iAssetID &"/" & oAsset.Name.Replace(" ","-").ToLower & " class=""expand button new-model-finance""><i class=""fa fa-gbp""></i> Apply for Finance</a>"
Line 123:
Line 124:

Source File: C:\inetpub\wwwroot\Applications\ContentManagedSites\SUZUKI_MANUFACTURER_SITES\SUZUKI-V3-CORE\suzuki-view-bike.aspx.vb    Line: 122

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   suzuki_view_bike.ShowModel(List`1 oParents, List`1 oValues, String zRawQueryString) in C:\inetpub\wwwroot\Applications\ContentManagedSites\SUZUKI_MANUFACTURER_SITES\SUZUKI-V3-CORE\suzuki-view-bike.aspx.vb:122
   suzuki_view_bike.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Applications\ContentManagedSites\SUZUKI_MANUFACTURER_SITES\SUZUKI-V3-CORE\suzuki-view-bike.aspx.vb:25
   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.3535.0