-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Describe the bug
We run a C# application where we use Dynatrace as a logging/tracing system.
We have noticed that some users experience a crash with stacktrace below without any clue why this happens.
To Reproduce
The crash appears at random and we can't force a reproduce unfortunately.
Expected behavior
We do not expect a user session to crash by this issue. We want to be able to handle this issue in the background without any issues seen by the enduser
Stacktrace (Slightly redacted)
Exception information
ThreadIdentity:
ClaimsPrincipal:
UserName: XXXXXXX
- System.NullReferenceException
Message: Object reference not set to an instance of an object.
HResult: 80004003
Data:
System.Object:
StackTrace
at Dynatrace.OpenKit.Core.Objects.BaseAction.DoLeaveAction(Boolean discardData)
at Dynatrace.OpenKit.Core.Objects.BaseAction.LeaveAction()
at NinjaProject.Dynatrace.Extensions.UserTrackingTelemetry.Dispose() in D:\BLD1_work\44\s\NinjaProject.Dynatrace.Extensions\Logic\UserTrackingTelemetry.cs:line 88
at System.Threading.Tasks.DynatraceTaskExtensions.d__1`1.MoveNext() in D:\BLD1_work\44\s\NinjaProject.Dynatrace.Extensions\Extensions\DynatraceTaskExtensions.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)