BeowulfBjornson / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Computer.CPUEnabled and others throw loads of exceptions #569

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to use this dll to measure temperature.
Which I can and works fine.  But setting CPUEnabled to true gives me the 
following exceptions (there are a lot), some other properties return these 
exceptions but not to the same extent:

A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred 
in OpenHardwareMonitorLib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll
A first chance exception of type 'System.ArgumentNullException' occurred in 
mscorlib.dll

Original issue reported on code.google.com by uwh...@gmail.com on 15 Feb 2014 at 2:51

GoogleCodeExporter commented 9 years ago
There's a difference between first chance exceptions and second chance 
(unhandled exceptions). This does not indicate a problem. Exceptions are being 
thrown and handled internally.

http://blogs.msdn.com/b/davidklinems/archive/2005/07/12/438061.aspx

Original comment by adam1.b...@gmail.com on 22 Mar 2015 at 11:40