I have lots of windows within my app that use the radgridview. I'm getting random errors such as the attached. Your help would be appreciated. I'm using the latest version: 2022.2.621.60.
Many thanks
Rob
- Stacktrace Frames: ------------------------------------------------------------------------------* Frame (76): TryCatchWhen | System.Windows.Threading.ExceptionWrapper
* Frame (75): InternalRealCall | System.Windows.Threading.ExceptionWrapper
* Frame (74): DispatcherCallbackOperation | MS.Win32.HwndSubclass
* Frame (73): WndProc | MS.Win32.HwndWrapper
* Frame (72): InputFilterMessage | System.Windows.Interop.HwndSource
* Frame (71): FilterMessage | System.Windows.Interop.HwndMouseInputProvider
* Frame (70): ReportInput | System.Windows.Interop.HwndMouseInputProvider
* Frame (69): ReportInput | System.Windows.Input.InputProviderSite
* Frame (68): ProcessInput | System.Windows.Input.InputManager
* Frame (67): ProcessStagingArea | System.Windows.Input.InputManager
* Frame (66): RaiseTrustedEvent | System.Windows.UIElement
* Frame (65): RaiseEventImpl | System.Windows.UIElement
* Frame (64): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (63): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (62): InvokeHandler | System.Windows.RoutedEventArgs
* Frame (61): InvokeEventHandler | System.Windows.Input.MouseButtonEventArgs
* Frame (60): OnMouseUpThunk | System.Windows.UIElement
* Frame (59): ReRaiseEventAs | System.Windows.UIElement
* Frame (58): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (57): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (56): InvokeHandler | System.Windows.RoutedEventArgs
* Frame (55): InvokeEventHandler | System.Windows.Input.MouseButtonEventArgs
* Frame (54): OnMouseLeftButtonUpThunk | System.Windows.UIElement
* Frame (53): OnMouseLeftButtonUp | System.Windows.Controls.Primitives.ButtonBase
* Frame (52): OnClick | System.Windows.Controls.Button
* Frame (51): OnClick | System.Windows.Controls.Primitives.ButtonBase
* Frame (50): RaiseEvent | System.Windows.UIElement
* Frame (49): RaiseEventImpl | System.Windows.UIElement
* Frame (48): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (47): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (46): SetValue | System.Windows.DependencyObject
* Frame (45): SetValueCommon | System.Windows.DependencyObject
* Frame (44): UpdateEffectiveValue | System.Windows.DependencyObject
* Frame (43): NotifyPropertyChange | System.Windows.DependencyObject
* Frame (42): OnPropertyChanged | System.Windows.FrameworkElement
* Frame (41): OnPropertyChanged | System.Windows.DependencyObject
* Frame (40): SetValue | System.Windows.DependencyObject
* Frame (39): SetValueCommon | System.Windows.DependencyObject
* Frame (38): UpdateEffectiveValue | System.Windows.DependencyObject
* Frame (37): NotifyPropertyChange | System.Windows.DependencyObject
* Frame (36): OnPropertyChanged | System.Windows.FrameworkElement
* Frame (35): OnPropertyChanged | System.Windows.DependencyObject
* Frame (34): OnIsOpenChanged | System.Windows.Controls.Primitives.Popup
* Frame (33): CreateWindow | System.Windows.Controls.Primitives.Popup
* Frame (32): SetRootVisualToPopupRoot | System.Windows.Controls.Primitives.Popup
* Frame (31): set_RootVisual | System.Windows.Interop.HwndSource
* Frame (30): set_RootVisualInternal | System.Windows.Interop.HwndSource
* Frame (29): SetLayoutSize | System.Windows.Interop.HwndSource
* Frame (28): Measure | System.Windows.UIElement
* Frame (27): MeasureCore | System.Windows.FrameworkElement
* Frame (26): MeasureOverride | System.Windows.Controls.Primitives.PopupRoot
* Frame (25): Measure | System.Windows.UIElement
* Frame (24): MeasureCore | System.Windows.FrameworkElement
* Frame (23): MeasureOverride | System.Windows.Controls.Decorator
* Frame (22): Measure | System.Windows.UIElement
* Frame (21): MeasureCore | System.Windows.FrameworkElement
* Frame (20): MeasureOverride | System.Windows.Documents.AdornerDecorator
* Frame (19): MeasureOverride | System.Windows.Controls.Decorator
* Frame (18): Measure | System.Windows.UIElement
* Frame (17): MeasureCore | System.Windows.FrameworkElement
* Frame (16): MeasureOverride | System.Windows.Controls.Control
* Frame (15): Measure | System.Windows.UIElement
* Frame (14): MeasureCore | System.Windows.FrameworkElement
* Frame (13): MeasureOverride | System.Windows.Controls.ContentPresenter
* Frame (12): MeasureElementWithSingleChild | MS.Internal.Helper
* Frame (11): Measure | System.Windows.UIElement
* Frame (10): MeasureCore | System.Windows.FrameworkElement
* Frame (9): MeasureOverride | System.Windows.Controls.Border
* Frame (8): Measure | System.Windows.UIElement
* Frame (7): MeasureCore | System.Windows.FrameworkElement
* Frame (6): MeasureOverride | System.Windows.Controls.ContentPresenter
* Frame (5): MeasureElementWithSingleChild | MS.Internal.Helper
* Frame (4): Measure | System.Windows.UIElement
* Frame (3): MeasureCore | System.Windows.FrameworkElement
* Frame (2): ApplyTemplate | System.Windows.FrameworkElement
* Frame (1): OnApplyTemplate | Telerik.Windows.Controls.GridView.FilteringControl
* Frame (0): InitializeDistinctValuesFilterClearButton | Telerik.Windows.Controls.GridView.FilteringControl
- Stacktrace Frames -------------------------------------------------------------------------------
- Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.GridView.FilteringControl.InitializeDistinctValuesFilterClearButton()
at Telerik.Windows.Controls.GridView.FilteringControl.OnApplyTemplate()
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Border.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Interop.HwndSource.SetLayoutSize()
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
at System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
- Exception Inner: