[1.90] Error during Select Shipping Method

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
When i select the shipping method in shopping cart to complete the order i get this error:


Server Error in '/' Application.

Value cannot be null.
Parameter name: type

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: System.ArgumentNullException: Value cannot be null.
Parameter name: type

Source Error:


Line 18:                             GroupName="paymentMethodGroup" />
Line 19:                         <%#Server.HtmlEncode(Eval("VisibleName").ToString()) %>
Line 20:                         <%#Server.HtmlEncode(FormatPaymentMethodInfo(((PaymentMethod)Container.DataItem)))%>
Line 21:                     </div>
Line 22:                 </ItemTemplate>

Source File: d:\inetpub\webs\mywebsite\Modules\CheckoutPaymentMethod.ascx    Line: 20

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +9635974
   System.Activator.CreateInstance(Type type) +6
   NopSolutions.NopCommerce.BusinessLogic.Payment.PaymentService.GetAdditionalHandlingFee(Int32 paymentMethodId) +235
   NopSolutions.NopCommerce.Web.Modules.CheckoutPaymentMethodControl.FormatPaymentMethodInfo(PaymentMethod paymentMethod) +127
   ASP.modules_checkoutpaymentmethod_ascx.__DataBind__control4(Object sender, EventArgs e) in d:\inetpub\webs\annaegiovannicom\Modules\CheckoutPaymentMethod.ascx:20
   System.Web.UI.Control.OnDataBinding(EventArgs e) +91
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +137
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +488
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +64
   System.Web.UI.WebControls.BaseDataList.DataBind() +55
   NopSolutions.NopCommerce.Web.Modules.CheckoutPaymentMethodControl.BindData() +2942
   NopSolutions.NopCommerce.Web.CheckoutPaymentMethodPage.Page_Load(Object sender, EventArgs e) +415
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   NopSolutions.NopCommerce.Web.BaseNopFrontendPage.OnLoad(EventArgs e) +88
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

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



Any help to fix it??
12 years ago
Someone can help me??
12 years ago
Did you figured it out?

I am facing same issue when i select shipping method,


Aj
12 years ago
me too !
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.