Solved

NullReference Exception - Crashes Application Pool

Posted on 2014-03-06
1
1,185 Views
Last Modified: 2014-03-10
Hi there - we're having issues with errors on a customer web site and just cannot see to figure it out.  Figured you all might have seen this before.  This is starting to become a real problem.

It gets bad several times per day and then we have to recycle the app pool to remedy.  

Any idea why this is happening?

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/6/2014 5:40:30 PM
Event time (UTC): 3/7/2014 12:40:30 AM
Event ID: e6f123aaf0464d56bcf49ca62f9ba92d
Event sequence: 20812
Event occurrence: 1092
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/4/ROOT-1-130386107893126484
    Trust level: Full
    Application Virtual Path: /
    Application Path: D:\inetpub\[customer url]
    Machine name: WWW-1
 
Process information:
    Process ID: 4164
    Process name: w3wp.exe
    Account name: NT AUTHORITY\SYSTEM
 
Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
   at System.Web.PipelineModuleStepContainer.GetEventCount(RequestNotification notification, Boolean isPostEvent)
   at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)

 
 
Request information:
    Request URL: [customer url]
    Request path: /index.aspx
    User host address: [ip address]
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\SYSTEM
 
Thread information:
    Thread ID: 96
    Thread account name: NT AUTHORITY\SYSTEM
    Is impersonating: False
    Stack trace:    at System.Web.PipelineModuleStepContainer.GetEventCount(RequestNotification notification, Boolean isPostEvent)
   at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
0
Comment
Question by:ccleebelt
1 Comment
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
Comment Utility
A NullReferenceException is triggered by a program that tries to use a variable that has not been initialized. This is a bug that needs to be corrected by a programmer who has access to the source code for the application.

What is strange is that w3wp.exe, which seems to be causing your problem, is part of the IIS application pool process. This type of Exception is quite rare in such processes that are in use in thousands of sites, and a quick search on the Internet does not show this to happen.

However, a few sites report that malware sometimes disguise itself as w3wp.exe.

Sorry that I cannot give you a precise solution.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now