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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

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.<DetailsAsync>d__7.MoveNext() in C:\Agents\a4\_work\4\s\Framework\Sana.Commerce.Web\Frontend\Controllers\ProductController.cs:0
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult) +92
   System.Web.Mvc.Async.<>c__DisplayClass8_0.<BeginInvokeAsynchronousActionMethod>b__1(IAsyncResult asyncResult) +22
   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.<>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.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