Hi,
the last days, our customers suffer from following exception in our WPF/MVVM/PRISM/C# application. It is in German, but I give a translation for the important parts:
Source: PresentationFramework
HelpLink: null
Message: Beim Auswerten der Style-Eigenschaft für Element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0" wurde ein zyklischer Verweis gefunden. Translation: Cyclic reference found while evaluating the style property for element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0"
InnerException: null
StackTrace: bei System.Windows.FrameworkElement.UpdateStyleProperty()
bei System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
bei System.Windows.FrameworkElement.OnVisualParentChanged(DependencyObject oldParent)
bei System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)
bei System.Windows.Media.Visual.RemoveVisualChild(Visual child)
bei System.Windows.Media.VisualCollection.DisconnectChild(Int32 index)
bei System.Windows.Media.VisualCollection.Clear()
bei System.Windows.Controls.UIElementCollection.ClearInternal()
bei System.Windows.Controls.Panel.ClearChildren()
bei System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)
bei System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)
bei System.Windows.Controls.ItemContainerGenerator.OnRefresh()
bei System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
bei System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
bei System.Windows.WeakEventManager.D
The exception appears when I open the application, don't use it for at least one minute and then open a new dialog of the application. The dialog contains a RadRibbon usercontrol. Sometimes the exception occurs when I don't wait a minute, but it appears more reliable if I do.
It does not appear when I debug the application. However, If I use the release mode in Visual Studio 2015 and start the application without debugging, I can reproduce the exception.
Since I cannot debug the application for this issue, I only hope for a flash of inspiration on how I could further approach this issue. If you need further information, please tell me.
Thank you!