Object reference not set to an instance of an object.
at ControlRisks.Core.Helpers.SiteHelper.GetCookieType(String htmlText) in D:\a\1\s\src\ControlRisks.Core\Helpers\SiteHelper.cs:line 59 at ControlRisks.Core.Helpers.RichTextHelper.SetIframeState(IDomObject iframe, CQ cookieOverlayTarget) in D:\a\1\s\src\ControlRisks.Core\Helpers\RichTextHelper.cs:line 108 at CsQuery.ExtensionMethods.ExtensionMethods.ForEach[T](IEnumerable`1 list, Action`1 action) at ControlRisks.Core.Helpers.RichTextHelper.InsertCookieOverlay(String targetHtml, MvcHtmlString cookieOverlay) in D:\a\1\s\src\ControlRisks.Core\Helpers\RichTextHelper.cs:line 93 at Glass.Mapper.Sc.GlassHtml.NormalModeOutput[T](Expression`1 field, Expression`1 standardOutput, T model, SafeDictionary`1 dictionary) in D:\a\Glass.Mapper\Glass.Mapper\Source\Glass.Mapper.Sc\GlassHtml.cs:line 639 at Glass.Mapper.Sc.GlassHtml.MakeEditable[T](Expression`1 field, Expression`1 standardOutput, T model, Object parameters, Context context, Database database, TextWriter writer) in D:\a\Glass.Mapper\Glass.Mapper\Source\Glass.Mapper.Sc\GlassHtml.cs:line 603