mwrock/RequestReduce — Issue #90: Nothing works, even dashboard gives YSOD
Author: HKochniss
Created: 2011-12-29 11:30:19+00:00
State: open

I have a very old ASP.NET Website, pretty big, running on 3.5 .NET Framework. Installed RequestReduce via Nuget.
If I invoke

http://localhost/WebAppName/RequestReduceContent/dashboard

the following YSOD occurs:
(why doesn't Github sllow uploading screenshots?)

> Server Error in '/WebAppName' Application.
>
> Object reference not set to an instance of an object.
> Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

> Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

> Source Error:

> An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

> Stack Trace:
>
> [NullReferenceException: Object reference not set to an instance of an object.]
> RequestReduce.Module.RequestReduceModule.WriteDashboard(HttpContextBase httpContextWrapper) in c:\RequestReduce\RequestReduce\Module\RequestReduceModule.cs:48
> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +79
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170
>
>
> Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420

Any idea what's going on?

This is btw just a step to debug a much weirder issue: simple controls are not rendering when I enable any of the optimization settings..