1
Vote

Attempted to divide by zero (Populate method of RecordDescription)

description

In case of a post, both queryData.Count and postData.Count can be zero which results in System.DivideByZeroException.
 
at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
at HttpRider.RecordDescription.Populate(DataTable dataSource, HttpRecord record)
at HttpRider.Main.<>c__DisplayClass22.<wizardPageDesign_Show>b__1e(Object o, ExpandoEventArgs ea)
at XPExplorerBar.ExpandoEventHandler.Invoke(Object sender, ExpandoEventArgs e)
at XPExplorerBar.Expando.OnStateChanged(ExpandoEventArgs e)
at XPExplorerBar.Expando.Expand()
at XPExplorerBar.Expando.set_Collapsed(Boolean value)
at XPExplorerBar.Expando.OnMouseUp(MouseEventArgs 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.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)

comments

alexb wrote Jun 5, 2012 at 3:08 PM

Thanks

I will include the fix in the next release which will appear in the upcoming month

wrote Feb 14, 2013 at 3:14 AM