Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at com.eventcreek.events.Helpers.HtmlHelpers.EventDetails(HtmlHelper helper, EventDate eventDate) in D:\a\1\s\com.eventcreek.events\Helpers\HtmlHelpers.cs:line 110
   at ASP._Page_Views_order_Cart_cshtml.Execute() in c:\Applications\com.eventcreek.event\Views\Order\Cart.cshtml:line 20
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   at System.Web.WebPages.StartPage.RunPage()
   at System.Web.WebPages.StartPage.ExecutePageHierarchy()
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.<>c.<BeginExecute>b__151_2(IAsyncResult asyncResult, Controller controller)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
		

Logged on Thursday, February 12, 2026 at 4:30:07 AM

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CONNECTION:close HTTP_ACCEPT_ENCODING:gzip, br HTTP_HOST:event.eventcreek.com HTTP_USER_AGENT:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 HTTP_X_FORWARDED_FOR:57.128.197.116 HTTP_CF_RAY:9ccb68a21866bf29-WAW HTTP_X_FORWARDED_PROTO:https HTTP_CDN_LOOP:cloudflare; loops=1 HTTP_CF_CONNECTING_IP:57.128.197.116 HTTP_CF_IPCOUNTRY:PL HTTP_CF_VISITOR:{"scheme":"https"}
ALL_RAWConnection: close Accept-Encoding: gzip, br Host: event.eventcreek.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 x-forwarded-for: 57.128.197.116 cf-ray: 9ccb68a21866bf29-WAW x-forwarded-proto: https cdn-loop: cloudflare; loops=1 cf-connecting-ip: 57.128.197.116 cf-ipcountry: PL cf-visitor: {"scheme":"https"}
APPL_MD_PATH/LM/W3SVC/18/ROOT
APPL_PHYSICAL_PATHC:\Applications\com.eventcreek.event\
AUTH_PASSWORD*****
AUTH_TYPE
AUTH_USER
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE256
CERT_SECRETKEYSIZE4096
CERT_SERIALNUMBER
CERT_SERVER_ISSUERC=US, O="CloudFlare, Inc.", OU=CloudFlare Origin SSL Certificate Authority, L=San Francisco, S=California
CERT_SERVER_SUBJECTO="CloudFlare, Inc.", OU=CloudFlare Origin CA, CN=CloudFlare Origin Certificate
CERT_SUBJECT
CONTENT_LENGTH0
CONTENT_TYPE
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPT_ENCODINGgzip, br
HTTP_CDN_LOOPcloudflare; loops=1
HTTP_CF_CONNECTING_IP57.128.197.116
HTTP_CF_IPCOUNTRYPL
HTTP_CF_RAY9ccb68a21866bf29-WAW
HTTP_CF_VISITOR{"scheme":"https"}
HTTP_CONNECTIONclose
HTTP_HOSTevent.eventcreek.com
HTTP_USER_AGENTMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
HTTP_X_FORWARDED_FOR57.128.197.116
HTTP_X_FORWARDED_PROTOhttps
HTTPSon
HTTPS_KEYSIZE256
HTTPS_SECRETKEYSIZE4096
HTTPS_SERVER_ISSUERC=US, O="CloudFlare, Inc.", OU=CloudFlare Origin SSL Certificate Authority, L=San Francisco, S=California
HTTPS_SERVER_SUBJECTO="CloudFlare, Inc.", OU=CloudFlare Origin CA, CN=CloudFlare Origin Certificate
INSTANCE_ID18
INSTANCE_META_PATH/LM/W3SVC/18
LOCAL_ADDR172.26.6.240
LOGON_USER
PATH_INFO/order/cart
PATH_TRANSLATEDC:\Applications\com.eventcreek.event\order\cart
QUERY_STRING
REMOTE_ADDR162.158.103.87
REMOTE_HOST162.158.103.87
REMOTE_PORT11191
REMOTE_USER
REQUEST_METHODGET
SCRIPT_NAME/order/cart
SERVER_NAMEevent.eventcreek.com
SERVER_PORT443
SERVER_PORT_SECURE1
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/10.0
URL/order/cart