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
close icon

Null Reference exception when closing form with Wizard control

Hi I am getting a NummReference when closing a form that is hosting a Wizard control, which in turn is hosting a number of GridGroupingControls. Error message below. Any suggestions? This combination seems pretty flaky - problems in designer, problems getting validation to work sensibly, now this. Is 4.2 better? Regards David Evans ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.set_Visible(Boolean value) at Syncfusion.Windows.Forms.Tools.CardLayout.ValidateHiddenStates() at Syncfusion.Windows.Forms.Tools.CardLayout.set_SelectedCard(String value) at Syncfusion.Windows.Forms.Tools.CardLayout.Next() at Syncfusion.Windows.Forms.Tools.CardLayout.RemoveLayoutComponent(Control childControl) at Syncfusion.Windows.Forms.Tools.LayoutManager.OnControlRemoved(Object sender, ControlEventArgs e) at System.Windows.Forms.ControlEventHandler.Invoke(Object sender, ControlEventArgs e) at System.Windows.Forms.Control.OnControlRemoved(ControlEventArgs e) at System.Windows.Forms.ControlCollection.Remove(Control value) at System.Windows.Forms.Control.Dispose(Boolean disposing) at Syncfusion.Windows.Forms.Tools.GradientPanel.Dispose(Boolean disposing) at System.ComponentModel.Component.Dispose() at System.ComponentModel.Container.Dispose(Boolean disposing) at System.ComponentModel.Container.Dispose() at InaPlex.Advanstar.MergePurge.MergePurgeWiz.Dispose(Boolean disposing) in c:\documents and settings\david.iplocal\my documents\visual studio projects\mergepurge\mergepurge_v1\mergepurgewiz.cs:line 1071 at System.ComponentModel.Component.Dispose() at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) 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) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- MergePurgeWiz Assembly Version: 1.0.60606.0 Win32 Version: 1.0.60606.0 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/MergePurgeWiz.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- log4net Assembly Version: 1.2.0.30714 Win32 Version: 1.2.0.30714 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/log4net.DLL ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- Syncfusion.Tools.Windows Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Tools.Windows.DLL ---------------------------------------- Syncfusion.Core Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Core.DLL ---------------------------------------- MergePurgeCommon Assembly Version: 1.0.60515.0 Win32 Version: 1.0.60515.0 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/MergePurgeCommon.DLL ---------------------------------------- IPCommon Assembly Version: 1.0.60513.0 Win32 Version: 1.0.60513.0 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/IPCommon.DLL ---------------------------------------- Interop.GoldMine Assembly Version: 6.7.0.0 Win32 Version: 6.7.0.0 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Interop.GoldMine.DLL ---------------------------------------- Syncfusion.Shared.Base Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Shared.Base.DLL ---------------------------------------- System.Data Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll ---------------------------------------- Syncfusion.Grid.Grouping.Windows Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Grid.Grouping.Windows.DLL ---------------------------------------- Syncfusion.Grouping.Base Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Grouping.Base.DLL ---------------------------------------- Syncfusion.Grid.Windows Assembly Version: 4.101.0.50 Win32 Version: 4.101.0.50 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Syncfusion.Grid.Windows.DLL ---------------------------------------- Accessibility Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll ---------------------------------------- avcs5qg7 Assembly Version: 0.0.0.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- Interop.GMXMLAPI Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///E:/Program%20Files/InaPlex/Advanstar%20Merge%20Purge/Interop.GMXMLAPI.DLL ---------------------------------------- System.EnterpriseServices Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/winnt/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll ---------------------------------------- Microsoft.VisualBasic Assembly Version: 7.0.5000.0 Win32 Version: 7.10.6001.4 CodeBase: file:///c:/winnt/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.

1 Reply

AD Administrator Syncfusion Team June 16, 2006 10:05 AM UTC

Hi David, Sorry for the delay in getting back to you. I am afraid, i was not able to reproduce the exception here. I here with attach my test sample. Wizard.zip Please let me know if you see the exception in this above attached sample. Otherwise could you please modify this sample to reproduce the issue? This will help us to investigate this issue accurately. Thanks for using Essential Tools. Best Regards, Seetha

Loader.
Live Chat Icon For mobile
Up arrow icon