Hi,
I am using version 4.67 and found a bug that occurs randomly. When clicking accessing the Store page (containing the BuyNow module), I am facing the folowing exception:
AssemblyVersion: 6.0.1
PortalID: 0
PortalName: Dnn601Smith467
UserID: 3
UserName: test1
ActiveTabID: 77
ActiveTabName: Store
RawURL: /Store.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://localhost/MyAccount.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0aef1cf7-99cb-411c-9d2a-4c1e40f27741
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.ProductsList.b
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.BuyNow.ProductsList.b(Decimal A_0) at Smith.DNN.Modules.BuyNow.ProductsList.dtProductslist_ItemCreated(Object sender, DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at Smith.DNN.Modules.BuyNow.ProductsList.bindDtProductList() at Smith.DNN.Modules.BuyNow.ProductsList.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
The error seems to occur more likely after a long period of inactivity.
Is this related to a product configuration problem, a locale problem (regional settings) (maybe the "Decimal A_0" might point on a different decimal separator than the expected one ?)
Note that the product price (Unit Cost) contains a dot, whereas the choosen culture decimal separator is a comma.
How can I fix this error ?
Thanks.