| 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											It seems that for any product I add a variant to when the Options button is clicked an error "Object reference not set  to an instance of an object" occurs instead of displaying the detail page. I am running the newest version of the shopping cart with DNN 5 
 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								
   | 
							 
								 Joined: 3/11/2010
									Posts: 1979
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											When you click the options button is it from the buynow module or the featured products module? 
										 
											
 Scott Kelly 
Project Manager
  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											From the BuyNow module. Using the links attached to the product name and icon work, but the Options button causes the error. 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								
   | 
							 
								 Joined: 3/11/2010
									Posts: 1979
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											I cant replicate the issue.  Can you post a screen shot of your product variants and product detail settings from the cart admin.  In the dnn event viewer is it saying that the error is on the productlist page or the productdetail page? 
										 
											
 Scott Kelly 
Project Manager
  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Here is the error from the log while I get the images you requested. 
  
AssemblyVersion:  5.4.0 
PortalID: 0 
PortalName: Heritage Archivers 
UserID:  1 
UserName: host 
ActiveTabID: 106 
ActiveTabName:  Project Order 
RawURL: /ProjectOrder.aspx 
AbsoluteURL:  /Default.aspx 
AbsoluteURLReferrer:  http://www.heritagearchivers.com/ProjectOrder.aspx 
UserAgent:  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3)  Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729) 
DefaultDataProvider:  DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider 
ExceptionGUID:  aceb3d2c-fddd-4683-af79-a5c78d921bd0 
InnerException:  Unhandled Error:  
FileName:  
FileLineNumber: 0 
FileColumnNumber:  0 
Method:  Smith.DNN.Modules.BuyNow.ProductsList.btnSelect_Click 
StackTrace:   
Message: System.Exception: Unhandled Error:  --->  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.btnSelect_Click(Object  sender, ImageClickEventArgs e)    at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs  e)    at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String  eventArgument)    at  System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String  eventArgument)    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler  sourceControl, String eventArgument)    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection  postData)    at System.Web.UI.Page.ProcessRequestMain(Boolean  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    --- End of inner exception stack trace ---    at  DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception  exc, String URL)    at DotNetNuke.Framework.PageBase.OnError(EventArgs e)    at System.Web.UI.Page.HandleError(Exception e)    at System.Web.UI.Page.ProcessRequestMain(Boolean  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    at System.Web.UI.Page.ProcessRequest(Boolean  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    at System.Web.UI.Page.ProcessRequest()    at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)    at System.Web.UI.Page.ProcessRequest(HttpContext context)    at ASP.default_aspx.ProcessRequest(HttpContext context)    at  System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,  Boolean& completedSynchronously)    --- End of inner exception stack trace  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Requested images found at http://www.heritagearchivers.com/support.aspx 
    
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								
   | 
							 
								 Joined: 3/11/2010
									Posts: 1979
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Ok so it says the error is on the productlist page.  Can you confirm that you are running cart version 2.90?  Also, since its not happening on my test system I need the following so i can setup the exact settings that you have: 
  
    - Post a screen shot of your product variants from the product setup screen
 
    - Post a screen shot of your product detail settings from the cart admin settings
 
 
										 
											
 Scott Kelly 
Project Manager
  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Running version 2.89, Image link above 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											I'm wondering if this has anything to do with the problem. The version I originally downloaded and installed upon purchase was 2.85.  I was provided (on 5/25/10) with the link to versioin 2.89 which I installed in order to fix an issue with the Bill Me Later option. The variants I entered did work at least once upon original creation. I not exactly sure when they went off-line, but I seems it may have been after the update. 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								
   | 
							 
								 Joined: 3/11/2010
									Posts: 1979
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Thats possible you might want to try upgrading to the latest version 2.90 can be downloaded from the downloads page.  Or try installing 2.9 on a new dnn install and see if you still get the error with a fresh install that will tell you if the issue accurred after the upgrade. 
  
-Scott 
										 
											
 Scott Kelly 
Project Manager
  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Upgrading to 2.9 has fixed the problem. Thank you. 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											I thouht this was fixed yesterday. I added another item to the group and got a new error when selecting one of the variants from a dropdown. 
  
  
An error has occurred. 
DotNetNuke.Services.Exceptions.PageLoadException:  Failed to load viewstate.  The control tree into which viewstate is  being loaded must match the control tree that was used to save viewstate  during the previous request.  For example, when adding controls  dynamically, the controls added during a post-back must match the type  and position of the controls added during the initial request. --->  System.Web.HttpException: Failed to load viewstate.  The control tree  into which viewstate is being loaded must match the control tree that  was used to save viewstate during the previous request.  For example,  when adding controls dynamically, the controls added during a post-back  must match the type and position of the controls added during the  initial request.    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList  childState)    at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)    at System.Web.UI.Page.LoadAllState()    at System.Web.UI.Page.ProcessRequestMain(Boolean  includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    --- End of inner exception stack trace --- 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								
   | 
							 
								 Joined: 3/11/2010
									Posts: 1979
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Can you make sure that all your sort orders are filled in and unique for the variants. 
  
-Scott 
										 
											
 Scott Kelly 
Project Manager
  
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 5/25/2010
									Posts: 16
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Yes, they have unique sort orders. 
										  | 
									 
										 | 
									 
								  | 
							 
						  | 
					
						  |   | 
					
						 | 
					
						
							
								 | 
							 
								  | 
							 
								 Joined: 7/28/2009
									Posts: 1452
								  | 
							 
						  | 
							
								 | 
							 
								
									
										
											Can you post a screen shot of your payment detail page settings from the cart admin settings. 
										 
											
 At your service, 
Dave Smith
  
										  | 
									 
										 | 
									 
								  | 
							 
						  |