Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

NullReference Exception - Crashes Application Pool

Posted on 2014-03-06
1
Medium Priority
?
1,375 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 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

610 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