Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi Andrew/Marina,

                                    After we upgraded from version 11.1.5 to 11.1.8 version , some users are getting following exception on contextmenu opening & docking action & it makes UI unresponsive and crash.

                                    I am unable to reproduce this constantly , Can your team look at the below stacktarce & fix this issue , I searched & found ,Devex previous versions have got this exception.Please give us a fix asap.

                                    Thanks,

                                    Amit

                                    System.InvalidOperationException: Logical tree depth exceeded while traversing the tree. This could indicate a cycle in the tree.
                                       at System.Windows.FrameworkElement.FindResourceInTree(FrameworkElement feStart, FrameworkContentElement fceStart, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, InheritanceBehavior& inheritanceBehavior, Object& source)
                                       at System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source)
                                       at System.Windows.FrameworkElement.FindImplicitStyleResource(FrameworkElement fe, Object resourceKey, Object& source)
                                       at System.Windows.FrameworkElement.GetRawValue(DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry& entry)
                                       at System.Windows.FrameworkElement.EvaluateBaseValueCore(DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry& newEntry)
                                       at System.Windows.DependencyObject.EvaluateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry, OperationType operationType)
                                       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.InvalidateProperty(DependencyProperty dp)
                                       at System.Windows.FrameworkElement.UpdateStyleProperty()
                                       at System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
                                       at System.Windows.FrameworkElement.OnVisualParentChanged(DependencyObject oldParent)
                                       at DevExpress.Xpf.Bars.BarPopupBase.OnVisualParentChanged(DependencyObject oldParent)
                                       at System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)
                                       at System.Windows.Media.Visual.RemoveVisualChild(Visual child)
                                       at DevExpress.Xpf.Bars.BarPopupBase.OnIsOpenChanged(DependencyPropertyChangedEventArgs e)
                                       at DevExpress.Xpf.Bars.PopupMenuBase.OnIsOpenChanged(DependencyPropertyChangedEventArgs e)
                                       at DevExpress.Xpf.Bars.BarPopupBase.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
                                       at System.Windows.PropertyChangedCallback.Invoke(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 DevExpress.Xpf.Bars.ContextMenuManager.ShowElementContextMenu(Object contextElement)
                                       at DevExpress.Xpf.Bars.ContextMenuManager.OnContextMenuOpening(Object sender, ContextMenuEventArgs e)
                                       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
                                       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.Controls.PopupControlService.RaiseContextMenuOpeningEvent(IInputElement source, Double x, Double y, Boolean userInitiated)
                                       at System.Windows.Controls.PopupControlService.ProcessMouseUp(Object sender, MouseButtonEventArgs e)
                                       at System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
                                       at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
                                       at System.Windows.Input.InputManager.ProcessStagingArea()
                                       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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

                                0

                                I am attaching a test project .

                                Steps to reproduce

                                1.Run the project in windows 7 .
                                2. Right click on grid and open Context Menu .
                                3. Immediately Right click on any BarMenuItem in Context Menu .

                                It throws the exception , One thing is noticable that it is good with Windows XP.

                                Please follow the demonstration video.

                                Thanks,

                                Amit

                                DXSample.zip
                                0

                                Hi Amit,

                                Thank you for your report and providing the sample project.

                                I have reproduced the problem and converted this question into a bug report. Our developers will examine this issue and do their best to find a way to address it.

                                Thanks,
                                Vito

                                0

                                Hi Vito ,

                                Can you give a timeline for this ?

                                Thanks,

                                Amit

                                0

                                Hi Amit,

                                I am afraid I cannot currently provide you with the exact time frame for the fix, because this depends on the complexity of the problem. We understand that this issue is vital for your development and we will do our best to examine it as soon as we can. If we find a workaround, we will certainly post it here. Please give us some time.

                                Thanks,
                                Vito

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Your Privacy - Legal Statements

                                Copyright © 1998-2013 Developer Express Inc.
                                ALL RIGHTS RESERVED
                                All trademarks or registered trademarks
                                are property of their respective owners