PDA

View Full Version : Unhandled exception after setting popup interval to '0'



Pure Presence
08-10-2011, 04:19 AM
************** Exception Text **************
System.ArgumentOutOfRangeException: Value '0' is not a valid value for Interval. Interval must be greater than 0.
Parameter name: Interval
at System.Windows.Forms.Timer.set_Interval(Int32 value)
at HoldemManager.Modules.UI.HUD.LayeredWindow.MouseMo ve(Object sender, MouseEventArgs e)
at HoldemManager.Modules.UI.HUD.MouseForm.MouseForm_M ouseMove(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEven tArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Sarek
08-10-2011, 04:25 AM
Please specify more exactly - what you did, step by step. If possible, with pictures.

Pure Presence
08-10-2011, 05:15 AM
2013120141

The exception appears after I have set the interval to 0 ms while having tables loaded with the HUD active, closed the HUD options and then tried to load a popup by hovering over a stat.

Pure Presence
08-10-2011, 05:47 AM
20151

And with the interval set to 100ms HM crashes when I hover over different stats in quick succesion (I currently have 36 stats immediately visible and use multiple custom popups together with default ones that I have yet to deactivate), while having 6 tables opened.

In this case I get the standard HM Error Report window (i.e. not the unhandled exception), but I can't send a report because it looks messed up (see attachment).

Pure Presence
08-10-2011, 05:56 AM
20181

And another exception occurred while moving someone's HUD on a table:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at HoldemManager.Modules.UI.HUD.Table.DisplayPlayerDa ta()
at HoldemManager.Modules.UI.HUD.Table.UpdateOverlay()
at HoldemManager.Modules.UI.HUD.HandManager.UpdateAll Tables()
at HoldemManager.Modules.UI.HUD.LayeredWindow.MouseUp (Object sender, MouseEventArgs e)
at HoldemManager.Modules.UI.HUD.MouseForm.MouseForm_M ouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventA rgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)