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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager null in SetControlCenter

Thread ID:

Created:

Updated:

Platform:

Replies:

92894 Feb 10,2010 08:56 PM UTC Feb 17,2010 09:15 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
David Brenchley
Asked On February 10, 2010 08:56 PM UTC

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)

Rajasekar B [Syncfusion]
Replied On 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

David Brenchley
Replied On 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"
>







Hemanth Kumar K [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;