Solved

NullReference Exception - Crashes Application Pool

Posted on 2014-03-06
1
1,233 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing .NET 3.5 on Windows Server 2012 1 62
Unable to hit site 2 30
Web page design problem 3 18
PowerShell: ForEach-Object Export to CSV 4 46
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

726 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