Unhandled Exception

Locked
Joby
Posts: 1
Joined: Fri Mar 27, 2009 16:10
Location: Irvine, CA
Contact:

Unhandled Exception

Post by Joby » Fri Nov 06, 2009 17:52

Hi,

I just hit an unhanded exception, I have copied the debug below. I am running Beta version 4.9.0.3 I was on the profile page of my log book, holding the left mouse button down and dragging the cursor back and forth over the profile graph. I've tried to repeat it but can't hit the exception again.

Hope the info helps

Joby


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

************** Exception Text **************
System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.GetHdc()
at System.Drawing.BufferedGraphics.RenderInternal(HandleRef refTargetDC, BufferedGraphics buffer)
at System.Drawing.BufferedGraphics.Render()
at System.Windows.Forms.Control.WmPaint(Message& m)
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.3603 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Divelog
Assembly Version: 4.9.0.3
Win32 Version: 4.9.0.3
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Divelog.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/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:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
DevExpress.OfficeSkins.v9.2
Assembly Version: 9.2.6.0
Win32 Version: 9.2.6.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/DevExpress.OfficeSkins.v9.2.DLL
----------------------------------------
DevExpress.Utils.v9.2
Assembly Version: 9.2.6.0
Win32 Version: 9.2.6.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/DevExpress.Utils.v9.2.DLL
----------------------------------------
Infragistics2.Win.v9.2
Assembly Version: 9.2.20092.1003
Win32 Version: 9.2.20092.1003
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Infragistics2.Win.v9.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinGauge.v9.2
Assembly Version: 9.2.20092.1003
Win32 Version: 9.2.20092.1003
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Infragistics2.Win.UltraWinGauge.v9.2.DLL
----------------------------------------
Infragistics2.Win.UltraWinToolbars.v9.2
Assembly Version: 9.2.20092.1003
Win32 Version: 9.2.20092.1003
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Infragistics2.Win.UltraWinToolbars.v9.2.DLL
----------------------------------------
DevExpress.XtraLayout.v9.2
Assembly Version: 9.2.6.0
Win32 Version: 9.2.6.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/DevExpress.XtraLayout.v9.2.DLL
----------------------------------------
Infragistics2.Shared.v9.2
Assembly Version: 9.2.20092.1003
Win32 Version: 9.2.20092.1003
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Infragistics2.Shared.v9.2.DLL
----------------------------------------
DevExpress.Data.v9.2
Assembly Version: 9.2.6.0
Win32 Version: 9.2.6.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/DevExpress.Data.v9.2.DLL
----------------------------------------
DevExpress.XtraEditors.v9.2
Assembly Version: 9.2.6.0
Win32 Version: 9.2.6.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/DevExpress.XtraEditors.v9.2.DLL
----------------------------------------
Divinglog.Controls
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Divinglog.Controls.DLL
----------------------------------------
PropertyGridEx
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/PropertyGridEx.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Infragistics2.Win.UltraWinExplorerBar.v9.2
Assembly Version: 9.2.20092.1003
Win32 Version: 9.2.20092.1003
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Infragistics2.Win.UltraWinExplorerBar.v9.2.DLL
----------------------------------------
ComponentFactory.Krypton.Toolkit
Assembly Version: 4.0.0.0
Win32 Version: 4.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
Language
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/Language.DLL
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.60.0
Win32 Version: 1.0.60.0
CodeBase: file:///C:/Documents%20and%20Settings/jobybett/Desktop/DivelogBeta/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
hvniguot
Assembly Version: 4.9.0.3
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
vd51wbwv
Assembly Version: 4.9.0.3
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
av84z5my
Assembly Version: 4.9.0.3
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.

divinglog
Site Admin
Posts: 5028
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Unhandled Exception

Post by divinglog » Mon Nov 09, 2009 13:51

Hi Joby

Thanks for reporting this! This will be difficult to debug, from the debugging info it is not clear where exactly the exception happens. I think it is either in my profile drawing code (which I can fix) or in the gauge controls (which is 3rd party). If you see it again or find a way to reproduce it, please let me know.

Thank you!
Sven

Locked