Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Exceptions in mouseover events in forms that run on threads other than the main GUI thread Collapse All
Subject Author Date
Alexander Kaay May 14, 2011 - 7:43 AM

Greetings--


Elegant Ribbon 4.1 produces exceptions when mousing over the ribbon in a multithreaded GUI application. This seems to be related to the bug from last year that affected multithreaded GUI instances (please refer to "Elegant.UI exceptions in forms that run on threads other than the main application thread"):


http://www.prof-uis.com/elegant-ribbon/tech-support/forum/elegantui-exceptions-in-forms-that-run-on-threads-other-than-the-main-application-thread-67926.aspx#@lt;/p>

...and subsequent posts. This is not exactly in the same place, but is also related to mouseover events. Please help... this happens frequently enough to make the application unusable.


-Alex


 


 


************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object.    at Elegant.Ui.Control.set_ControlAffectedByMouse(Control value)    at Elegant.Ui.Control.OnMouseEnter(Control control, EventArgs e)    at Elegant.Ui.Control.OnMouseEnter(EventArgs e)    at System.Windows.Forms.Control.WndProc(Message& m)    at Elegant.Ui.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: 4.0.0.0     Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)     CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- AutoMotion5     Assembly Version: 5.1.4150.27034     Win32 Version: 5.1.4150.27034     CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/AutoMotion5.exe ---------------------------------------- System.Windows.Forms     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- Elegant.Ui.Ribbon     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.dll ---------------------------------------- Elegant.Ui.Grid     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Grid/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Grid.dll ---------------------------------------- Elegant.Ui.Common     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Common.dll ---------------------------------------- Microsoft.VisualBasic     Assembly Version: 10.0.0.0     Win32 Version: 10.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System.Core     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Configuration     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- abc5     Assembly Version: 5.0.3900.19942     Win32 Version:     CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/abc5.DLL ---------------------------------------- Elegant.Ui.Common.Theme.Office2007Black     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Common.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Common.Theme.Office2007Black.dll ---------------------------------------- Accessibility     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- Microsoft.VisualBasic.Compatibility     Assembly Version: 10.0.0.0     Win32 Version: 10.0.30319.1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic.Compatibility/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.Compatibility.dll ---------------------------------------- Elegant.Ui.Ribbon.Theme.Office2007Black     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Ribbon.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Ribbon.Theme.Office2007Black.dll ---------------------------------------- Microsoft.VisualBasic.PowerPacks.Vs     Assembly Version: 10.0.0.0     Win32 Version: 10.0.30319.1     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.PowerPacks.Vs/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.PowerPacks.Vs.dll ---------------------------------------- RSIQDNET4     Assembly Version: 4.1.28.0     Win32 Version:     CodeBase: file:///C:/AutoFET/AutoFET5/AutoMotion/bin/x86/Debug/RSIQDNET4.DLL ---------------------------------------- Elegant.Ui.Grid.Theme.Office2007Black     Assembly Version: 4.1.0.0     Win32 Version: 4.1.0.0     CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Elegant.Ui.Grid.Theme.Office2007Black/4.1.0.0__3a2b400713aae6e0/Elegant.Ui.Grid.Theme.Office2007Black.dll ---------------------------------------- Microsoft.DirectX.DirectInput     Assembly Version: 1.0.2902.0     Win32 Version: 5.04.00.2904     CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll ---------------------------------------- System.Security     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll ---------------------------------------- System.Data.SqlXml     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll ---------------------------------------- System.Design     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- Microsoft.DirectX     Assembly Version: 1.0.2902.0     Win32 Version: 5.04.00.2904     CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll ---------------------------------------- System.Data     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Drawing.Design     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.1 built by: RTMRel     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll ---------------------------------------- System.Web     Assembly Version: 4.0.0.0     Win32 Version: 4.0.30319.206 built by: RTMGDR     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Microsoft.VisualC     Assembly Version: 10.0.0.0     Win32 Version: 10.00.30319.01     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualC/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll ----------------------------------------

 


 


 

Technical Support May 18, 2011 - 1:19 PM

Could you create and send to us a a sample project that illustrates the issue? Thank you.