Server Error in '/' Application.

SAP Error : 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: Sana.SanaConnectionException: SAP Error : Object reference not set to an instance of an object.

Source Error:


Line 67: }
Line 68: @{
Line 69:     var result = Html.Action("Top", "Navigation");
Line 70:     if (!result.IsEmpty())
Line 71:     {

Source File: D:\Projects\Applications\GrafitypLive935\Frontend\Views\Default\Layouts\General.cshtml    Line: 69

Stack Trace:


[SanaConnectionException: SAP Error : Object reference not set to an instance of an object.]
   Sana.Commerce.eBusiness.ProviderBase`1.ExecuteRequest(String operation, IList`1 requestElements) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\eBusiness\ProviderBase.cs:379
   Sana.Commerce.eBusiness.PriceProvider.GetPriceInfo(IList`1 productIds, IPriceInfoLoadOptions priceLoadOptions) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\eBusiness\PriceProvider.cs:49
   Sana.Commerce.Price.<>c__DisplayClass8_0.<GetPriceInfo>b__0(IList`1 ids) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Price\PriceManager.cs:106
   Sana.Commerce.ByIdLoader`1.GetCacheResolvedList(IList`1 ids, FetchListCallback fetch) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Cache\ByIdLoader.cs:137
   Sana.Commerce.ByIdLoader`1.GetList(IList`1 ids, FetchListCallback fetch) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Cache\ByIdLoader.cs:103
   Sana.Commerce.Price.PriceManager`1.GetPriceInfo(IList`1 productIds, IPriceInfoLoadOptions priceLoadOptions) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Price\PriceManager.cs:0
   Sana.Commerce.Catalog.ProductManager`1.UpdatePriceInfo(IProductBaseLoadOptions options, IEnumerable`1 products) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Catalog\ProductManager.cs:556
   Sana.Commerce.Catalog.ProductManager`1.LoadCalculatedInfo(CacheResolvedItemCollection`1 productsCached, IList`1 productsFromErp, IProductBaseLoadOptions options) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Catalog\ProductManager.cs:429
   Sana.Commerce.Catalog.ProductManager`1.PostLoadProducts(CacheResolvedItemCollection`1 productsCached, IProductBaseLoadOptions options) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Catalog\ProductManager.cs:309
   Sana.Commerce.Catalog.ProductManager`1.PostLoadProduct(IProduct product, IProductBaseLoadOptions options, Boolean productIsFromCache) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Catalog\ProductManager.cs:291
   Sana.Commerce.Catalog.ProductManager`1.GetProduct(String productId, IProductLoadOptions options) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce\Business\Catalog\ProductManager.cs:221
   Sana.Commerce.Web.Api.Catalog.CatalogApi.GetProduct(String productId, IProductLoadOptions loadOptions, Boolean addProductAttributes) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Api\Catalog\CatalogApi.cs:324
   Sana.Commerce.Web.Frontend.Controllers.NavigationController.InitProductTrackingData(IList`1 nodes) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\NavigationController.cs:169
   Sana.Commerce.Web.Frontend.Controllers.NavigationController.InitProductTrackingData(IList`1 nodes) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\NavigationController.cs:169
   Sana.Commerce.Web.Frontend.Controllers.NavigationController.InitProductTrackingData(IList`1 nodes) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\NavigationController.cs:169
   Sana.Commerce.Web.Frontend.Controllers.NavigationController.BuildTree(String groupCode) in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\NavigationController.cs:152
   Sana.Commerce.Web.Frontend.Controllers.NavigationController.Top() in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\NavigationController.cs:43
   lambda_method(Closure , ControllerBase , Object[] ) +93
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.Async.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +69
   System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__11_0() +72
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() +387
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +69
   System.Web.Mvc.Async.<>c__DisplayClass3_6.<BeginInvokeAction>b__3() +50
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +59
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +73
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +59
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c__DisplayClass5_0.<Wrap>b__0() +18
   System.Web.Mvc.ServerExecuteHttpHandlerWrapper.Wrap(Func`1 func) +29
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +1706

[HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.]
   System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2320
   System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) +131
   System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) +33
   System.Web.Mvc.Html.ChildActionExtensions.ActionHelper(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues, TextWriter textWriter) +573
   System.Web.Mvc.Html.ChildActionExtensions.Action(HtmlHelper htmlHelper, String actionName, String controllerName, RouteValueDictionary routeValues) +113
   ASP._Page_Views_Default_Layouts_General_cshtml.Execute() in D:\Projects\Applications\GrafitypLive935\Frontend\Views\Default\Layouts\General.cshtml:69
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +163
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
   System.Web.WebPages.<>c__DisplayClass40_0.<RenderPageCore>b__0(TextWriter writer) +309
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +123
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
   System.Web.WebPages.WebPageBase.PopContext() +310
   System.Web.WebPages.<>c__DisplayClass40_0.<RenderPageCore>b__0(TextWriter writer) +309
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +123
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +89
   System.Web.WebPages.WebPageBase.PopContext() +310
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +375
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +59
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +73
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +59
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


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