[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SE_ED.Promotion.DiscountByUnit.<>c__DisplayClass14_0.<GetAppropriatePromotion>b__0(DiscountByUnit p)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at SE_ED.Promotion.DiscountByUnit.GetAppropriatePromotion(CartItemParameter param, DateTime date, PromotionStatus status, AppEnum application, String branchCode)
at SE_ED.Promotion.DiscountByUnit.CurrentPromotion(CartItemParameter param, AppEnum application, String branchCode)
at SE_ED.Promotion.Promotions.<>c__DisplayClass18_0.<GetDiscount>b__25()
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.<Invoke>b__0()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Parallel.Invoke(ParallelOptions parallelOptions, Action[] actions)
at SE_ED.Promotion.Promotions.GetDiscount(CartItemParameter param, Decimal unitPrice, Int32 qty, AppEnum application, String branchCode, DiscountCard cardType, String discountCode)
at SE_ED.Promotion.Promotions.GetDiscount(CartItemParameter param, Decimal unitPrice, Int32 qty, Boolean& wrapCover, AppEnum application, String branchCode, DiscountCard cardType, String discountCode, OnPromotions& onPromotion)
at SE_ED.Promotion.Promotions.CurrentDiscount(CartItemParameter param, Decimal unitPrice, Int32 qty, Boolean& wrapCover, AppEnum application, String branchCode, DiscountCard cardType, String discountCode, OnPromotions& onPromotion)
at SE_ED.ECommerce.Product.UnitDiscount(Decimal unitPrice, CartItemParameter param, DiscountCard card, String discountCode) in D:\Visual Studio 2015\Projects\SE-ED-COM-TEAM\SE-EDClassLibrary\SE-ED.ECommerce\Products\Product.cs:line 7492
at SE_ED.ECommerce.Product.UnitDiscount(ProductDetail product, DiscountCard card, String discountCode) in D:\Visual Studio 2015\Projects\SE-ED-COM-TEAM\SE-EDClassLibrary\SE-ED.ECommerce\Products\Product.cs:line 7045
at SE_ED.ECommerce.Product.UnitDiscount(ProductItem productItem, DiscountCard card, String discountCode) in D:\Visual Studio 2015\Projects\SE-ED-COM-TEAM\SE-EDClassLibrary\SE-ED.ECommerce\Products\Product.cs:line 6981
at SE_ED.ECommerce.ProductItem.UnitDiscount(DiscountCard card, String discountCode) in D:\Visual Studio 2015\Projects\SE-ED-COM-TEAM\SE-EDClassLibrary\SE-ED.ECommerce\Products\ProductItem.cs:line 112
at SE_ED.ECommerce.ProductItem.UnitDiscount() in D:\Visual Studio 2015\Projects\SE-ED-COM-TEAM\SE-EDClassLibrary\SE-ED.ECommerce\Products\ProductItem.cs:line 99
at SE_ED.ECommerce.ASMX.ServiceImplementation._2024_01_01.ECommerceServiceBase.<>c.<ItemUnitPrices>b__241_0(ProductItem item)
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at SE_ED.ECommerce.ASMX.ServiceImplementation._2024_01_01.ECommerceServiceBase.ItemUnitPrices(String itemCode)
--- End of inner exception stack trace ---]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +237812
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +273
SE_ED.MobileECommerce.SE_EDWSECommerceService.ECommerceService.ItemUnitPrices(String itemCode) +135
SE_ED.MobileECommerce.SE_EDWSMECommerceProvider.ItemUnitPrices(String itemCode) +363
SE_ED.MobileECommerce.MECommerce.ItemUnitPrices(String itemCode) +266
SE_ED.MobileECommerce.ItemResponse.get_UnitPriceSetCollection() +72
Templates_SE_ED_2015_ECommerce_ProductDetailPageTwoColumn.getPriceTable(String _barcode, String& bookTypeLogo) +2173
Templates_SE_ED_2015_ECommerce_ProductDetailPageTwoColumn.loadMailBody(ItemDetail dataItem) +3344
Templates_SE_ED_2015_ECommerce_ProductDetailPageTwoColumn.LoadData(String itemCode) +864
Templates_SE_ED_2015_ECommerce_ProductDetailPageTwoColumn.Page_Load(Object sender, EventArgs e) +2225
System.Web.UI.Control.OnLoad(EventArgs e) +108
Blogazine.UI.BaseTemplatePage.OnLoad(EventArgs e) +73
System.Web.UI.Control.LoadRecursive() +11725592
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533
|