Page 1 of 1
Object reference error messages.
Posted: Mon Mar 24, 2014 10:30 am
by VIPER7
I am currently running in development mode reconstructing my Able Commerce site bringing over data from an existing 5.5 version site, using built in tools in Gold (Importing & Exporting via a CSV file). I am receiving, on a fairly regular basis (daily) the below error message, which I am concerned about. I am running on IIS 7 using ASP.NET 4.0 Integrate Pipeline mode. If I recycle the App pool, it comes back. Any ideas? SQL Server 2008 R2. TIA!
Server Error in '/' Application.
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.]
System.Web.PipelineStepManager.ResumeSteps(Exception error) +197
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +89
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022
Re: Object reference error messages.
Posted: Tue Mar 25, 2014 9:00 am
by Katie
Hi there,
Can you tell me which build of AbleCommerce you are using please? To confirm, this error appears in the storefront (any page), and you can get the site to work again by recycling the App pool?
Thanks,
Katie
Re: Object reference error messages.
Posted: Tue Mar 25, 2014 10:16 am
by VIPER7
Here is my Able Commerce version, and yes, I can get the site working again by recycling the app pool, but... I would rather not have to do that, obviously.
AbleCommerce for ASP.NET
VERSION: 7.0.86.6169
Release Label: GoldR6
DATABASE: NHibernate.Dialect.MsSql2005Dialect
.NET CLR v4.0.30319.1022
ASP.NET TRUST: Unrestricted
AjaxControlToolkit: 4.1.51116.0
AntiXssLibrary: 4.0.0.0
Castle.Core: 2.5.1.0
Castle.Windsor: 2.5.1.0
CommerceBuilder: 7.86.5007.43084
CommerceBuilder.AcTestProvider: 7.86.5000.17243
CommerceBuilder.Amazon: 7.86.5000.17240
CommerceBuilder.AustraliaPost: 7.86.5000.17243
CommerceBuilder.AuthorizeNet: 7.86.5000.17242
CommerceBuilder.AvaTax: 7.86.5000.17241
CommerceBuilder.BankOfCanada: 7.86.5000.17243
CommerceBuilder.CanadaPost: 7.86.5000.17243
CommerceBuilder.CyberSource: 7.86.5000.17241
CommerceBuilder.DataClient.Api: 7.7.14430.0
CommerceBuilder.DataClient.Csv: 7.0.34.0
CommerceBuilder.DHLInternational: 7.86.5000.17242
CommerceBuilder.ECB: 7.86.5000.17242
CommerceBuilder.GoogleCheckout: 7.86.5000.17240
CommerceBuilder.InternetSecure: 7.86.5000.17242
CommerceBuilder.Licensing: 7.86.5007.43092
CommerceBuilder.LinkPoint: 7.86.5000.17242
CommerceBuilder.Paradata: 7.86.5000.17242
CommerceBuilder.PayFlowPro: 7.86.5000.17242
CommerceBuilder.PayJunction: 7.86.5000.17242
CommerceBuilder.PaymentechOrbital: 7.86.5000.17240
CommerceBuilder.PayPal: 7.86.5000.17240
CommerceBuilder.Protx: 7.86.5000.17241
CommerceBuilder.SkipJack: 7.86.5000.17242
CommerceBuilder.UI: 7.86.5007.43093
CommerceBuilder.UPS: 7.86.5000.17240
CommerceBuilder.USPS: 7.86.5000.17240
CommerceBuilder.Utility.Csv: 8.0.0.0
CommerceBuilder.WATax: 7.86.5000.17242
CommerceBuilder.WebApi: 7.86.5007.43094
CyberSource.Base: 2.0.0.0
CyberSource.Clients: 5.0.2.0
CyberSource.Clients.XmlSerializers: 5.0.2.0
CyberSource.WSSecurity: 2.0.0.0
CybsWSSecurityIOP: 1.0.0.0
DataPort.Framework: 7.4.221.0
HtmlSanitizationLibrary: 4.0.0.0
ICSharpCode.SharpZipLib: 0.86.0.518
Iesi.Collections: 1.0.1.0
log4net: 1.2.10.0
Lucene.Net: 2.9.4.1
Microsoft.Data.Edm: 5.1.0.0
Microsoft.Data.OData: 5.1.0.0
Microsoft.Data.OData.Contrib: 5.1.0.0
Microsoft.Web.Infrastructure: 1.0.0.0
Microsoft.Web.Mvc: 2.0.0.0
MvcContrib: 2.0.95.0
Newtonsoft.Json: 4.5.0.0
NHibernate: 3.3.1.4001
NHibernate.ByteCode.Castle: 3.1.0.4000
NHibernate.Caches.SysCache: 3.1.0.4000
NHibernate.Search: 2.0.2.4001
NVelocity: 7.2.0.0
PaygatewayNET: 3.0.0.0
paypal_base: 4.2.1.0
SanitizerProviders: 1.0.0.0
System.Net.Http: 2.0.0.0
System.Net.Http.Formatting: 4.0.0.0
System.Spatial: 5.1.0.0
System.Web.Http: 4.0.0.0
System.Web.Http.OData: 0.2.0.0
System.Web.Http.WebHost: 4.0.0.0
System.Web.Mvc: 4.0.0.0
System.Web.Razor: 2.0.0.0
System.Web.WebPages: 2.0.0.0
System.Web.WebPages.Deployment: 2.0.0.0
System.Web.WebPages.Razor: 2.0.0.0
wwHoverPanel: 1.85.0.0
Re: Object reference error messages.
Posted: Tue Mar 25, 2014 1:18 pm
by Katie
Let me check on this for you.
Re: Object reference error messages.
Posted: Tue Mar 25, 2014 5:40 pm
by VIPER7
Thanks Katie. At this point, I cannot get the site to stay up for longer than an hour or two without receiving this message. I think there has been another version released and wondering if that would help?
Re: Object reference error messages.
Posted: Tue Mar 25, 2014 5:44 pm
by VIPER7
For now, I am going to try to upgrade my server to MS .NET Framework 4.5.1 and see if that helps. Right now, I'm on .NET 4.0.
Re: Object reference error messages.
Posted: Wed Mar 26, 2014 10:30 am
by Katie
There must be some other issue. The site shouldn't be crashing so often, regardless of the .Net version. I'm wondering if there is a problem with the data that was imported. It would be helpful if we can figure out what pages are crashing. It's probably something specific that is causing this to happen.
Re: Object reference error messages.
Posted: Wed Mar 26, 2014 3:30 pm
by VIPER7
I would think so too Katie. When the site crashes though, it's the whole site, from the home page on. Perhaps it is because of a piece of data that was imported. Maybe an invalid string of text or something? Over 3,000 products were imported that were worked on over the last 7 years by multiple people and Lord only knows what data may be causing an issue.
I upgraded .NET to 4.5 on the server last night and no crashes yet today, but we'll see... I'll continue to keep us posted.
Re: Object reference error messages.
Posted: Wed Mar 26, 2014 4:08 pm
by Katie
Yes, please keep me updated. I have to wonder if there was a problem with the Net 4.0 installation. If some of your imported products had issues, I would expect errors on the product pages, but this seems more of a general (the site is not responding) issue. I hope the upgrade to .Net 4.5 continues to work for you.
Re: Object reference error messages.
Posted: Fri Mar 28, 2014 9:31 am
by VIPER7
Keeping this thread updated, in going to accesss our new AC Gold site, currently in development, the error once again surfaced. Again, a recycle of the application pool brought it back to life. Any ideas on how we can further pinpoint as to what's causing the error? We're pretty close to going live and want to make sure we're as stable as possible. I'm willing to do what it takes. Thanks Katie!
Re: Object reference error messages.
Posted: Fri Mar 28, 2014 9:43 am
by Katie
Let me check with the developers. I might have a fix for this. However, we do not know the exact reason the site is going down, but we should be able to recover from the situation and not require that you recycle the application manually.
Re: Object reference error messages.
Posted: Sat Apr 05, 2014 10:07 am
by VIPER7
It appears this problem is not going to go away on it's own. My customer reported the error again today. What can I do? How can I troubleshoot this? We are getting close to being launch ready and definitely don't want this error surfacing to customers.
Server Error in '/' Application.
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.]
System.Web.PipelineStepManager.ResumeSteps(Exception error) +262
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +186
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446
Re: Object reference error messages.
Posted: Mon Apr 07, 2014 2:45 am
by ForumsAdmin
You are running on
IIS 7 (Integrate Pipeline mode)
ASP.NET 4.0
SQL Server 2008 R2
Windows 7 or 8 ?
Do you have all the latest service packs and patches installed?
Do you have any customizations in Global.asax?
Do you have any custom HttpModules added?
Re: Object reference error messages.
Posted: Mon Apr 07, 2014 7:14 am
by Katie
This is not a fix, but it 'might' help bring the site back to life if it crashes.
Go to:
http://help.ablecommerce.com/upgrades/a ... s_gold.htm
Download the patch for:
AC8-2254
Store does not initialize if the database connection is lost
Fixed in \bin\CommerceBuilder.Licensing.dll
Please make a backup of the original file before replacing.
Re: Object reference error messages.
Posted: Tue Apr 08, 2014 5:24 am
by jmestep
I think Katie is on the right track- we do see this happen at times, even on the home page where there is little "code" running, and I had thought the database connection might be the problem.
Re: Object reference error messages.
Posted: Tue Apr 08, 2014 6:07 am
by jmestep
Katie, I posted a bug report on this - some of the hot patches in the link you sent are throwing a 404 error. See image below.
2014-04-08_9-25-26.jpg