Server Error in '/' Application.

Cannot perform runtime binding on a null reference

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: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference

Source Error:


Line 358:	@Carousel.JavascriptInitialize(Name: "carousel_02", ClassName: "carousel-container-02", AutoScroll: true, AutoScrollInterval: 12000, SlidesTotal: 0, SlidesToDisplayHorizontal: 4, SlidesToDisplayVertical: 1, TransitionGradually: false, UseTestData: false, DataSelector: ".coming-soon.womens .products article")
Line 359:	@Carousel.JavascriptInitialize(Name: "carousel_03", ClassName: "carousel-container-03", AutoScroll: true, AutoScrollInterval: 16000, SlidesTotal: 0, SlidesToDisplayHorizontal: 3, SlidesToDisplayVertical: 1, TransitionGradually: false, UseTestData: false, DataSelector: "#carousel-istar-brands>div")
Line 360:	@FilterNav.Javascript()
Line 361:	
Line 362:	<!-Script to make images added on the info pages responsive -->

Source File: c:\inetpub\wwwroot\Shared\Custom\_Layout.cshtml    Line: 360

Stack Trace:


[RuntimeBinderException: Cannot perform runtime binding on a null reference]
   CallSite.Target(Closure , CallSite , Object , String ) +142
   System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +2880948
   CallSite.Target(Closure , CallSite , Object , String ) +175
   ASP.iStarLister.GetClasses(String DeptCode, String SortField) +932
   ASP.FilterNav.GetClasses(String DeptBrowse, String ClassBrowse, String SubclassBrowse) +59
   ASP.FilterNav.DisplayLeftNav() +356
   ASP.FilterNav.<Javascript>b__7(TextWriter __razor_helper_writer) +2213
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   ASP._Page_Shared_Custom__Layout_cshtml.Execute() in c:\inetpub\wwwroot\Shared\Custom\_Layout.cshtml:360
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +231
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +63
   System.Web.WebPages.WebPageBase.PopContext() +263
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +98
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +231
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   CallSite.Target(Closure , CallSite , _Page_Browse_cshtml , Object ) +100
   ASP._Page_Browse_cshtml.Execute() in c:\inetpub\wwwroot\Browse.cshtml:6
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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