Hello,
I've got a problem with an application using Telerik.WinControls.
Every few hours, seemingly random, it crashes with the following error:
EventType: clr20r3 P1: xcat.exe P2: 1.1.0.0 P3: 4aa9aa27 P4: telerik.wincontrols P5: 2009.2.9.701 P6: 4a535c8e P7: 1ac7 P8: 32 P9: system.nullreferenceexception
this error is also logged in windows event log as .NET Runtime 2.0 Error (Event ID: 5000).
From what I understand it's an unhandled NullReferenceException somewhere in Telerik.WinControls assembly.
Using above event data (P7: 1ac7) and windbg I got the following result:
Module: 00988b00 (Telerik.WinControls.dll)
Token: 0x06001ac7
MethodDesc: 04e95348
Name: Telerik.WinControls.RadControlAnimationTimer.Stop()
And than P8: 32 pointed me to the following disassembly line:
L_0032: callvirt instance void [System.Windows.Forms]System.Windows.Forms.Timer::remove_Tick(class [mscorlib]System.EventHandler)
So I think it happens in Telerik.WinControls.RadControlAnimationTimer.Stop() when Tick event hadler is removed (although I'm not 100% sure).
The application does not use RadControlAnimationTimer but I use other Telerik controls (RadGridViews, RadButtons, RadComboBoxes, RadMenus) and they probably make use of the RadControlAnimationTimer.
I've got a problem with an application using Telerik.WinControls.
Every few hours, seemingly random, it crashes with the following error:
EventType: clr20r3 P1: xcat.exe P2: 1.1.0.0 P3: 4aa9aa27 P4: telerik.wincontrols P5: 2009.2.9.701 P6: 4a535c8e P7: 1ac7 P8: 32 P9: system.nullreferenceexception
this error is also logged in windows event log as .NET Runtime 2.0 Error (Event ID: 5000).
From what I understand it's an unhandled NullReferenceException somewhere in Telerik.WinControls assembly.
Using above event data (P7: 1ac7) and windbg I got the following result:
Module: 00988b00 (Telerik.WinControls.dll)
Token: 0x06001ac7
MethodDesc: 04e95348
Name: Telerik.WinControls.RadControlAnimationTimer.Stop()
And than P8: 32 pointed me to the following disassembly line:
L_0032: callvirt instance void [System.Windows.Forms]System.Windows.Forms.Timer::remove_Tick(class [mscorlib]System.EventHandler)
So I think it happens in Telerik.WinControls.RadControlAnimationTimer.Stop() when Tick event hadler is removed (although I'm not 100% sure).
The application does not use RadControlAnimationTimer but I use other Telerik controls (RadGridViews, RadButtons, RadComboBoxes, RadMenus) and they probably make use of the RadControlAnimationTimer.
I also have a try-catch block around Application.Run() but that particular exception does not get caught there - so I can't look at the stack trace to pinpoint where and if the exception originates in my code.
Could you maybe suggest some way of catching that exception or maybe disabling RadContolAnimationTimer.
Regards,
Piotr.