Hello,
from time to time we get an unhandled exception from the DockManager telling that "A deffered show is already in progress".
What is the reason for this exception and how can it be fixed?
Here is the call stack:
[Window Title]
An unhandled exception has occured.
[Content]
System.InvalidOperationException: A deferred show is already in progress.
at Infragistics.Windows.Controls.ToolWindow.ShowImpl(FrameworkElement owner)
at Infragistics.Windows.Controls.ToolWindow.ShowAsync(FrameworkElement owner, Boolean activate, Boolean preferPopup)
at Infragistics.Windows.DockManager.DockManagerUtilities.ShowToolWindow(ToolWindow window, FrameworkElement owner, Boolean activate)
at Infragistics.Windows.DockManager.PaneToolWindow.ShowHelper()
at Infragistics.Windows.DockManager.PaneToolWindow.set_IsWindowLoaded(Boolean value)
at Infragistics.Windows.DockManager.XamDockManager.SetIsWindowLoaded(PaneToolWindow window, Boolean loaded)
at Infragistics.Windows.DockManager.XamDockManager.SetIsWindowLoaded(Boolean loaded)
at Infragistics.Windows.DockManager.XamDockManager.VerifyFloatingWindowVisibility()
at Infragistics.Windows.DockManager.XamDockManager.OnDockManagerLoaded(Object sender, RoutedEventArgs e)
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.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)
My team is experiencing this issue as well. It happens reliably when a user is using our application over a remote desktop session and then closes the session with the application running. This is crashing the application.
Is there any status change on this issue? I just ran into this myself on 13.2.20132.2005 but currently don't have a repro case for you.
Hello Reiner,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Hello Rainer,
Our developers are not aware of such exception and they need more inforamtion about what circumstances the issue occurs (Is the window containing the XamDockManager being loaded, Did you load a layout and this happens immediately after that process before you get to use the XamDockManager, etc.) Also it will be grreate if you could isolate a sampole and send it to us for further investigation.
Looking forward for your reply.
I have contacted with our developers and as soon as I get an answer from them I will update you.
Thank you for your patience.