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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReferenceException in SizingController.get_Floating()

Thread ID:





43835 May 5,2006 02:13 AM UTC May 10,2006 01:59 PM UTC WinForms 6
Tags: Tools
Asked On May 5, 2006 02:13 AM UTC

Our application for no apparent reason crashed with the following exception: --------------------------------------------- System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Windows.Forms.Tools.SizingController.get_Floating() at Syncfusion.Windows.Forms.Tools.DockTabController.HandleMouseUpImp(MouseButtons button, Point ptclient) at Syncfusion.Windows.Forms.Tools.DockTabControl.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at Syncfusion.Windows.Forms.Tools.TabControlAdv.WndProc(Message& m) at Syncfusion.Windows.Forms.Tools.DockTabControl.WndProc(Message& msg) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) --------------------------------------------- It''s a bit puzzling, because we do not even subscribe to mouse events for any TabControlAdv controls, which we are using in our app. I cannot reproduce it on my dev machine... We are using Essential Studio with .NET 1.1...

Joy K George [Syncfusion]
Replied On May 5, 2006 09:51 AM UTC

Hi Ernest, Sorry for the inconvenience caused. I was not able to reproduce the issue.But I have created a sample and attached here.Please modify that to bring the issue.It would be great help in resolving this problem. Regards, Joy


Replied On May 5, 2006 07:48 PM UTC

Hi Joy, What exactly do you expect me to do with the sample? I already specified that we do not subscribe to those Mouse events and I do not have a way to reproduce the failure or to find out what caused it. Without going to the source code of SizingController.get_Floating() method I don''t have any clue why that method may throw this exception. Regards, Ernest

Ernest Bayazitov
Replied On May 5, 2006 10:16 PM UTC

Hello Joy, I''ve modified your sample with a code, which closely simulates the way we use TabControlAdv control (please see the attached project). I cannot reproduce the failure, but as you will be able to see we are not using any mouse click events, so any crashes in MouseUp event handlers occur inside the TabControlAdv code. BTW, the failure was reported on dual-proc machine (XP Pro), with enabled hyper-threading. Thanks, Ernest


Joy K George [Syncfusion]
Replied On May 9, 2006 11:21 AM UTC

Hi Ernest, Thanks for your update. I have tested sample in a machine which have the same configuration which you mentioned in your post.But I was not able to reproduce any issues(Exception).Without reproducing the issue ,it is very hard for us to give you a solution. Could you please give us the sequence of operations which can reproduce this exception? Thanks for your co-operation. Regards, Joy

Ernest Bayazitov
Replied On May 9, 2006 05:57 PM UTC

Hi Joy, The modified sample I''ve uploaded last time very closely resembles the sequence of operations which lead to this exception in a first place. I''m sure that the cpu was very loaded at that time (close to 90%), running the process in question and a few more, power hungry processes. I cannot reproduce it at will and don''t have any suggestions on how to trigger it, because we are not using the control''s functionality, which thrown the exception, in our code at all. Only code review of that function could reveal the conditions which could lead to a crash. Regards, Ernest

Joy K George [Syncfusion]
Replied On May 10, 2006 01:59 PM UTC

Hi Ernest, I was not able reproduce the issue again. The DockTabControl is inherited from the TabControlAdv.That is why the stack trace refers to TabControlAdv. Could you please upgrade to our latest release and check for this issue? Here is the link to Regards, Joy


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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