Exception in RadCalendar: WeakReferenceList`1 - IndexOf

2 posts, 0 answers
  1. Gert
    Gert avatar
    35 posts
    Member since:
    Nov 2017

    Posted 21 Jan Link to this post

    Hi all!

    I have an event which triggers an async loading task in which I change data which is bound to the RadCalendar.

    In my development environment I never had any issues but users on RDS-Server have. This is the stack-trace from there log: 

     

    ERROR2020-01-20 11:25:28 – Fatal Error - StackTrace: ModuleContainerManager - HandleUnhandledException

    WeakReferenceList`1 - IndexOf

    WeakReferenceList`1 - Remove

    SelectionChanger`1 - Select

    SelectionChanger`1 - InsertItem

    Collection`1 - Add

    SelectionChanger`1 - AddJustThis

    RadCalendar - AddToSelection

    RadCalendar - OnSelectedDateChanged

    RadCalendar - OnSelectedDateChanged

    DependencyObject - OnPropertyChanged

    FrameworkElement - OnPropertyChanged

    DependencyObject - NotifyPropertyChange

    DependencyObject - UpdateEffectiveValue

    DependencyObject - InvalidateProperty

    BindingExpressionBase - Invalidate

    BindingExpression - TransferValue

    BindingExpression - ScheduleTransfer

    ClrBindingWorker - NewValueAvailable

    PropertyPathWorker - UpdateSourceValueState

    PropertyPathWorker - OnDependencyPropertyChanged

    ClrBindingWorker - OnSourceInvalidation

    BindingExpression - HandlePropertyInvalidation

    BindingExpressionBase - OnPropertyInvalidation

    BindingExpression - OnPropertyInvalidation

    DependentList - InvalidateDependents

    DependencyObject - NotifyPropertyChange

    DependencyObject - UpdateEffectiveValue

    DependencyObject - SetValueCommon

    DependencyObject - SetCurrentValue

    RadDateTimePicker - OnSelectedValueChanged

    RadDateTimePicker - OnSelectedValueChanged

    DependencyObject - OnPropertyChanged

    FrameworkElement - OnPropertyChanged

    DependencyObject - NotifyPropertyChange

    DependencyObject - UpdateEffectiveValue

    DependencyObject - InvalidateProperty

    BindingExpressionBase - Invalidate

    BindingExpression - TransferValue

    BindingExpression - ScheduleTransfer

    ClrBindingWorker - NewValueAvailable

    PropertyPathWorker - UpdateSourceValueState

    PropertyPathWorker - RefreshValue

    ClrBindingWorker - ScheduleTransferOperation

    DataBindOperation - Invoke

    DataBindEngine - ProcessCrossThreadRequests

    ExceptionWrapper - InternalRealCall

    ExceptionWrapper - TryCatchWhen

    DispatcherOperation - InvokeImpl

    DispatcherOperation - InvokeInSecurityContext

    CulturePreservingExecutionContext - CallbackWrapper

    ExecutionContext - RunInternal

    ExecutionContext - Run

    ExecutionContext - Run

    CulturePreservingExecutionContext - Run

    DispatcherOperation - Invoke

    Dispatcher - ProcessQueue

    Dispatcher - WndProcHook

    HwndWrapper - WndProc

    HwndSubclass - DispatcherCallbackOperation

    ExceptionWrapper - InternalRealCall

    ExceptionWrapper - TryCatchWhen

    Dispatcher - LegacyInvokeImpl

    HwndSubclass - SubclassWndProc

    nsafeNativeMethods - DispatchMessage

    Dispatcher - PushFrameImpl

    Dispatcher - PushFrame

    Application - RunDispatcher

    Application - RunInternal

    Application - Run

    Application - Run

    App - Main

     

    Do I have to take care some how of the binding or how can I catch this to prevent app crash?

    Thanks for help!!!!!!

    BR Gert

  2. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2482 posts

    Posted 23 Jan Link to this post

    Hello Gert,

    We are not aware of the reported behavior. Can you share some a additional information on the case? More specifically, code snippets (runnable if possible) showing how the RadCalendar is setup and how its selection is updated.

    Regards,
    Martin Ivanov
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top