We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DockingManager null in SetControlCenter

I have a window the errors out when initializing with a system.nullreferenceexception
here is the stack trace. I have no idea on where to begin to look on this error. Running vs2010rc .net 4.0 with syncfusion version 8 that came out yesterday. The window worked fine before then.

at Syncfusion.Windows.Tools.Controls.DockingManager.SetControlCenter()
at Syncfusion.Windows.Tools.Controls.DockingManager.OnDockingManagerLoaded(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)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

3 Replies

RB Rajasekar B Syncfusion Team February 12, 2010 12:42 PM UTC

Hi David,

Can you provide us the steps to reproduce the exception or provide us the code snippet of how you are initializing the DockingManager? If it is reproducible in a simple sample, you can provide the sample.

Thanks,
Rajasekar


DB David Brenchley February 16, 2010 05:23 PM UTC

Here is some simplified xaml the reproduces the error. This is running on Win 7 32 bit, VS2010RC and .net 4.0

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dat="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:local="clr-namespace:HelpdeskWPF"
xmlns:d="http://schemas.microsoft.com/expression/blend/2006"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="HelpdeskWPF.TestWindow"
Height="650" Width="775"
MinHeight="550" MinWidth="500"
ResizeMode="CanResizeWithGrip"
>








HK Hemanth Kumar K Syncfusion Team February 17, 2010 09:15 AM UTC

Hi David,

We are able to reproduce this issue and it has been fixed in our latest source. Kindly create new incident in your direct trac so that we will update you custom assemblies along with this fix.

Thanks,
HemanthKumar K

Loader.
Live Chat Icon For mobile
Up arrow icon