Options

Null reference exception

Running performance profiler, we get this error just before the application disappears.. The app doesn't crash doing the same thing outside the profiler..

Can't ship you the app for redtape type issues (and it wouldn't work anyway without our local services..) Is there anything I can do to help debug this?

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: RedGate.Profiler.Instrumentation
at RedGate.Profiler.Instrumentation.Callback.Breakpoint(UInt32 functionID, UInt32 sequencePoint)
at X.Y.Z.Engine.Aspect.GetResult(Boolean withFailover) in c:\X\Y\Z\Engine\Aspect.cs:line 150
at X.Y.Z.Engine.Aspect.get_Result() in c:\X\Y\Z\Engine\Aspect.cs:line 94
at X.Y.Z.Engine.CompositeAspect.GetAggregateStatus(Aspect[] dependantAspects) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 171
at X.Y.Z.Engine.CompositeAspect.GetAggregateStatus(Aspect[] dependantAspects) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 171
at X.Y.Z.Engine.CompositeAspect.GetAggregateStatus(Aspect[] dependantAspects) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 171
at X.Y.Z.Engine.CompositeAspect.GetAggregateStatus(Aspect[] dependantAspects) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 171
at X.Y.Z.Engine.CompositeAspect.GetAggregateStatus(Aspect[] dependantAspects) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 171
at X.Y.Z.Engine.CompositeAspect.Calculate(AspectResult result) in c:\X\Y\Z\Engine\CompositeAspect.cs:line 109

Comments

  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    Sorry, we'll need to have a look at this function to see what it does before we can comment on the cause. More often than not, we need to debug ANTS Profiler against your application to get to the bottom of these sorts of things.
Sign In or Register to comment.