I seem to be getting this random crash with 10.2.20102.1004. Just have an UltraComboEditor with 4 text items and images on a modal dialog. Crash occurs on ShowDialog after randomly opening and closing the dialog a few times without doing anything and no events handled on the combo editor. The only thread is the UI thread.
System.InvalidOperationException was unhandled
Message="Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.get_InternalHandle()
at System.Windows.Forms.Control.DestroyHandle()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at Infragistics.Win.UltraControlBase.Dispose(Boolean disposing)
at Infragistics.Win.ValueListDropDown.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Infragistics.Win.ValueList.OnDispose()
at Infragistics.Win.BindableValueList.OnDispose()
at Infragistics.Shared.DisposableObject.Dispose()
at Infragistics.Win.UltraWinEditors.UltraComboEditor.DisposeValueList()
at Infragistics.Win.UltraWinEditors.UltraComboEditor.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
InnerException:
Hi Shawn,
Are you able to reproduce the exception in a small sample project and post is here? If so, we could check it out.
I believe I am getting the same error. It only happens when I'm in the debugger and it happens when I try to Dispose of the UltraComboEditor. As far as I know, there isn't any threading in my application.
Did you figure anything out?
I am on version 13.1.20131.2079.
Thank you.
Hi All,
I am also not using threading in my Excel Application Level Add-in(at least not intentionally), but I receive the following error message. I am using Visual Studio 2013, update 1, with Infragistics 2013.1. Any help would be greatly appreciated. Cheers.
A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
System.InvalidOperationException: Cross-thread operation not valid: Control 'ultraFormattedLinkLabel1' accessed from a thread other than the thread it was created on.
at Infragistics.Win.FormattedLinkLabel.UltraFormattedTextEditorBase.Dispose(Boolean disposing)
at System.Windows.Forms.ContainerControl.Dispose(Boolean disposing)
at ExcelAddin_TableInformation.ucTableInfoForPane.Dispose(Boolean disposing) in c:\vs\utils\ExcelAddin_TableInformation\ExcelAddin_TableInformation\ucTableInfoForPane.Designer.cs:line 24
Hi,
I think this issue still existing in the initial release version of NetAdvantage 2010.3 and was fixed in a service release. So you probably just need to get the service release.
How to get the latest service release - Infragistics Community
Hello,
I am getting the same error but in 10.3 when runing from VS IDE.
System.InvalidOperationException was unhandled Message="Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on." Source="System.Windows.Forms" StackTrace: at System.Windows.Forms.Control.get_Handle() at System.Windows.Forms.Control.get_InternalHandle() at System.Windows.Forms.Control.DestroyHandle() at System.Windows.Forms.Control.Dispose(Boolean disposing) at Infragistics.Win.UltraControlBase.Dispose(Boolean disposing) at Infragistics.Win.ValueListDropDown.Dispose(Boolean disposing) at System.ComponentModel.Component.Dispose() at Infragistics.Win.ValueList.OnDispose() at Infragistics.Win.BindableValueList.OnDispose() at Infragistics.Shared.DisposableObject.Dispose() at Infragistics.Win.UltraWinEditors.UltraComboEditor.DisposeValueList() at Infragistics.Win.UltraWinEditors.UltraComboEditor.Dispose(Boolean disposing) at System.ComponentModel.Component.Finalize() InnerException:
Any progress in the resolution?