Exception in template (Designs/sevenseas/Paragraph/Banner.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at Co3.Espresso.Base.Extensions.ItemExtensions.GetValue[T](Item item, String key) in C:\Projects\espresso-solution\Co3.Espresso.Utilities\Extensions\ItemExtensions.cs:line 21
   at Co3.Espresso.Website.Models.FrontEnd.Elements.EspressoText..ctor(Item paragraphItem) in C:\Projects\espresso-solution\Co3.Espresso.Website\Models\FrontEnd\Elements\EspressoText.cs:line 52
   at Co3.Espresso.Website.Models.FrontEnd.Paragraphs.ImageTextModel..ctor(Paragraph paragraph, Item dynamicwebItem) in C:\Projects\espresso-solution\Co3.Espresso.Website\Models\FrontEnd\Paragraphs\ImageTextModel.cs:line 25
   at Co3.Espresso.Website.Models.FrontEnd.Paragraphs.BannerModel..ctor(Paragraph paragraph, Item dynamicwebItem) in C:\Projects\espresso-solution\Co3.Espresso.Website\Models\FrontEnd\Paragraphs\BannerModel.cs:line 23
   at Co3.Espresso.Website.TemplateBases.Paragraphs.Banner..ctor() in C:\Projects\espresso-solution\Co3.Espresso.Website\TemplateBases\Paragraphs\Banner.cs:line 20
   at lambda_method(Closure )
   at RazorEngine.Templating.TypeLoader.CreateInstance(Type type)
   at RazorEngine.Templating.DefaultActivator.CreateInstance(InstanceContext context)
   at RazorEngine.Templating.TemplateService.CreateTemplate(String razorTemplate, Type templateType, Object model)
   at RazorEngine.Templating.TemplateService.GetTemplate[T](String razorTemplate, Object model, String cacheName)
   at RazorEngine.Templating.TemplateService.GetTemplate(String razorTemplate, Object model, String cacheName)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@inherits Co3.Espresso.Website.TemplateBases.Paragraphs.Banner @{ if ( Espresso.Item.ImageDisableGradientOverlay == "True" || Espresso.Text.Raw == "" ) { Espresso.Container.ClassList.AddClasses("p-banner-gradient-disabled"); } if ( string.IsNullOrEmpty( Espresso.Item.PaddingTop ) == false && Espresso.Item.PaddingTop != "0" ) { Espresso.Container.ClassList.AddClasses("p-t-" + Espresso.Item.PaddingTop); } if ( string.IsNullOrEmpty( Espresso.Item.PaddingBottom ) == false && Espresso.Item.PaddingBottom != "0" ) { Espresso.Container.ClassList.AddClasses("p-b-" + Espresso.Item.PaddingBottom); } if( GetLoop("Item.AnimationImages").Any() == true ) { Espresso.Image.Container.ClassList.RemoveClasses("p-img-container-parallax"); Espresso.Image.Container.ClassList.AddClasses("p-banner-animation-image-container js-p-banner-animation-image-container"); Espresso.Image.ClassList.AddClasses("p-banner-animation-image js-p-banner-animation-image"); } string iddImageUrl = Espresso.Image.URL; string ambuImagePath = Espresso.Item.Image; if( string.IsNullOrEmpty( iddImageUrl ) == false && ambuImagePath.EndsWith("svg") != true ) { iddImageUrl = iddImageUrl + "&donotupscale=true"; } } </div> </div> </div> </div> </section> <section class="@Espresso.Container.ClassList e-section" id="@Espresso.Id"> @if( Espresso.Image.URL != "" ) { if( GetLoop("Item.AnimationImages").Any() == true ) { <div class="@Espresso.Image.Container.ClassList"> <div title="@Espresso.Image.AltText" class="@Espresso.Image.ClassList" data-src="@iddImageUrl"></div> @foreach( LoopItem animationImage in GetLoop("Item.AnimationImages") ) { string imageSrc = String.Format( "/admin/public/getimage.ashx?Crop={0}&Image={1}&Format=jpg&Width={2}&Height=&Quality={3}", animationImage.GetString("Item.AnimationImages.ImageCroppingAnchor"), animationImage.GetString("Item.AnimationImages.Image"), Espresso.Image.Width, animationImage.GetString("Item.AnimationImages.ImageQuality") ); <div title="@Espresso.Image.AltText" class="@Espresso.Image.ClassList" data-src="@imageSrc"></div> } </div> } else{ if( Espresso.ParallaxScrolling == true ) { <div class="@Espresso.Image.Container.ClassList"> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="@Espresso.Image.AltText" class="@Espresso.Image.ClassList" data-src="@iddImageUrl"> </div> } else{ <div class="@Espresso.Image.Container.ClassList" style="background-image:url(@iddImageUrl)" title="@Espresso.Image.AltText"></div> } } if( Espresso.Item.ShowNextSectionLink == "True" ) { <a href="#" class="p-banner-next-section-link js-p-banner-next-section-link"> <i class="material-icons p-banner-next-section-link-icon">keyboard_arrow_down</i> </a> } } <div class="@Espresso.Wrapper.ClassList"> <div class="container-fluid"> <div class="@Espresso.Text.Container.ClassList"> <div class="@Espresso.Text.Wrapper.ClassList"> @Espresso.Text.Raw </div> </div> </div> </div> </section> <section class="e-section"> <div class="container-fluid"> <div class="row"> <div class="@Espresso.ContentSection.ClassList"> <div class="row">
keyboard_arrow_up