Wedding List Module + Object reference not set to an instance of an object Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anos atrás
Hi - I was wondering if anyone had any suggestions as to how I could fix this error (it shows up when someone is creating a wedding list - though the list does get created)


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: System.NullReferenceException: 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: 

[NullReferenceException: Object reference not set to an instance of an object.]
   NopSolutions.NopCommerce.BusinessLogic.Extensions.WeddingListService.GenerateUpdateWeddingListAction(WeddingList oldWL, WeddingList newWL) in C:\Company\clients\EQ_Backup\nop\Libraries\Nop.BusinessLogic\Extensions\WeddingListService.cs:329
   NopSolutions.NopCommerce.BusinessLogic.Extensions.WeddingListService.UpdateWeddingList(WeddingList weddingList) in C:\Company\clients\EQ_Backup\nop\Libraries\Nop.BusinessLogic\Extensions\WeddingListService.cs:313
   NopSolutions.NopCommerce.Web.Modules.WeddingList.UpdateWeddingList() in C:\Company\clients\EQ_Backup\nop\NopCommerceStore\Modules\WeddingList.ascx.cs:118
   NopSolutions.NopCommerce.Web.Modules.WeddingList.btnUpdateWeddingList_Click(Object sender, EventArgs e) in C:\Company\clients\EQ_Backup\nop\NopCommerceStore\Modules\WeddingList.ascx.cs:76
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
12 anos atrás
kayteeq wrote:
NopSolutions.NopCommerce.BusinessLogic.Extensions.WeddingListService.GenerateUpdateWeddingListAction(WeddingList oldWL, WeddingList newWL)...

I see that you made some customization. There's no WeddingListService in nopCommerce. Try debugging the source code in order to know what's wrong
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.