Server Error in '/cdwebsite' 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 1924:                End If
Line 1925:                sb.AppendLine("")
Line 1926:            Next
Line 1927:
Line 1928:            If Not .linkedreviewlist Is Nothing Then

Source File: C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\cdsitepage.vb    Line: 1926

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   cdwebsite.cdsitepage.GetEditorialForID(Int32 id, Boolean dovideo, Boolean doautoplay, String films) in C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\cdsitepage.vb:1926
   cdwebsite.cdsitepage.TransformContent(StringBuilder& sb, String customer) in C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\cdsitepage.vb:232
   cdwebsite.cdsitepage.PaintPage(String page, String customer) in C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\cdsitepage.vb:148
   cdwebsite.cdsitepage.PaintPage() in C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\cdsitepage.vb:141
   editoriallibraryreview.Page_Load(Object sender, EventArgs e) in C:\Working\caranddriving\_myworkdir\cdwebservice\cdwebsite\editorial-library-review.aspx.vb:11
   System.Web.UI.Control.OnLoad(EventArgs e) +107
   System.Web.UI.Control.LoadRecursive() +89
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1532


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