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
Solved

NullReference Exception - Crashes Application Pool

Posted on 2014-03-06
1
1,217 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
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

828 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