Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
RunTime error ValueListDropDownUnsafe - winGrid
posted

Our application is winforms userControl which is invoked within VB6 using a interop, this works perfectly fine.  However with that said, there is a senrio where the system throws a RT.

Step1: Open a form with wingrid that has data and open grid filter,

Step 2: Close the form, without collapsing the filter dropdown. Even though the form is closed some kind of object remains on the MDI

Step 3: Open another form and click on any kind of drop down. The system blows with the below exception.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'ValueListDropDownUnsafe'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at Infragistics.Win.DropDownManager.OwnsControl(Control control)
   at Infragistics.Win.DropDownManager.HandleClosingOfOpenDropDowns(Control owner)
   at Infragistics.Win.DropDownManager.DropDown(DropDownManagerParameters dropDownManagerParameters)
   at Infragistics.Win.ValueListDropDown.ShowHelper(Rectangle editRect, Int32 index, Boolean isDroppingDown)
   at Infragistics.Win.ValueListDropDown.DoDropDown(Rectangle editRect, Int32 index)
   at Infragistics.Win.ValueList.Infragistics.Win.IValueList.DropDown(Rectangle cellAreaInScreenCoords, Int32 index, String text)
   at Infragistics.Win.UltraWinGrid.ColumnHeader.OnClickFilterDropDown(HeaderUIElement headerElem, Boolean shiftKeyDown)
   at Infragistics.Win.UltraWinGrid.FilterDropDownButtonUIElement.OnMouseDown(MouseEventArgs e, Boolean adjustableArea, UIElement& captureMouseForElement)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseDownHelper(Object sender, MouseEventArgs e)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseDown(Object sender, MouseEventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraControlBase.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///x:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Cmc.UI.Winforms.CampusVue.Session
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CampusVue.Session.DLL
----------------------------------------
Cmc.UI.Winforms.CampusVue
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CampusVue.DLL
----------------------------------------
Cmc.CampusLink.Client.Proxy
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.Client.Proxy.DLL
----------------------------------------
Cmc.CampusLink.Client.BusinessEntities
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.Client.BusinessEntities.DLL
----------------------------------------
Cmc.CampusLink.BusinessProcesses
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.BusinessProcesses.DLL
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Cmc.CampusLink.Soa
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.Soa.DLL
----------------------------------------
Cmc.CampusLink.CodeAccessSecurity
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.CodeAccessSecurity.DLL
----------------------------------------
Cmc.CampusVantage.Client
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusVantage.Client.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Cmc.UI.Winforms.CentralSecurity.Interfaces
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CentralSecurity.Interfaces.DLL
----------------------------------------
Cmc.UI.Winforms.CentralSecurity.Foundation
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CentralSecurity.Foundation.DLL
----------------------------------------
System.Web.Services
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Cmc.CampusLink.BusinessEntities
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.CampusLink.BusinessEntities.DLL
----------------------------------------
ksezpq49
    Assembly Version: 11.0.0.71
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
t5pcwpjq
    Assembly Version: 11.0.0.71
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
CMCClientLibrary
    Assembly Version: 1.0.1809.20554
    Win32 Version: 1.0.1809.20554
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/CMCClientLibrary.DLL
----------------------------------------
CMCBase
    Assembly Version: 0.0.1.20552
    Win32 Version: 0.0.1.20552
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/CMCBase.DLL
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Cmc.UI.Winforms.CampusVue.Interfaces
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CampusVue.Interfaces.DLL
----------------------------------------
Cmc.UI.Winforms.CampusVue.Messages
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.UI.Winforms.CampusVue.Messages.DLL
----------------------------------------
CmcFAControls
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/CmcFAControls.DLL
----------------------------------------
Csla
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Csla.DLL
----------------------------------------
Infragistics2.Win.UltraWinChart.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinChart.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinGrid.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinGrid.v8.2.DLL
----------------------------------------
Infragistics2.Win.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.v8.2.DLL
----------------------------------------
Infragistics2.Shared.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Shared.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinGrid.ExcelExport.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinGrid.ExcelExport.v8.2.DLL
----------------------------------------
Infragistics2.Excel.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Excel.v8.2.DLL
----------------------------------------
Cmc.DataAccess
    Assembly Version: 11.0.0.71
    Win32 Version: 11.0.0.71
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Cmc.DataAccess.DLL
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.ServiceModel
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.4506.2152 (SP.030729-0100)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.4506.2152 (SP.030729-0100)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.4506.2152 (SP.030729-0100)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/SMDiagnostics/3.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Infragistics2.Win.UltraWinPrintPreviewDialog.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinPrintPreviewDialog.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinDock.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinDock.v8.2.DLL
----------------------------------------
Infragistics2.Win.Misc.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.Misc.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinEditors.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinEditors.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinToolbars.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinToolbars.v8.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinStatusBar.v8.2
    Assembly Version: 8.2.20082.1000
    Win32 Version: 8.2.20082.1000
    CodeBase: file:///X:/Program%20Files/CMC/C2000/CAMPUSVUE/Infragistics2.Win.UltraWinStatusBar.v8.2.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///X:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

ValueListDropDownUnsafe.rar
Parents
No Data
Reply
  • 1685
    posted

    This problem occured for us up to 12.1, but not in 13.1.

    In 13.1 the combo seems to get closed when it loses the focus better.

Children
No Data