Solved

NullReference Exception - Crashes Application Pool

Posted on 2014-03-06
1
1,268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39911675
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
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…

688 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