Coppermine Stats
Photo Albums
• Albums: 308
• Pictures: 2452 · Views: 824045 · Votes: 1316
· Comments: 86
|
Bug Report- Unhandled Exception in 2.099Post your bug reports or feature requests here!
View previous topic :: View next topic |
Author |
Message |
SyberShooter Member
Joined: Jul 23, 2010 Posts: 93 Location: Arizona
|
Posted: Tue Nov 29, 2011 8:51 am Post subject: Bug Report- Unhandled Exception in 2.099 |
|
In the Ballistics section, entered valid data and get
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at BallisticFuncs.Ballistics.FixWindDrift(SNAPSHOT[] snaps)
at BallisticFuncs.Ballistics.CalculateBallistics(SNAPSHOT[] snaps, Double BallisticCoeff, Double BulletWeight, Double Velocity, Double TargetZeroDistance, Double ScopeHeight, Double Temperature, Double Altitude, Double Angle, Int32 maxDistance, Int32 dx)
at PointBlank.ControlBallistics.MOATableHeader()
at PointBlank.ControlBallistics.btnRecompute_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
It seems to continue ok after closing the error dialog box
al
|
|
Back to top |
|
|
DallanC Site Admin
Joined: Jan 18, 2005 Posts: 3572 Location: Utah
|
Posted: Tue Nov 29, 2011 9:40 am Post subject: Re: Bug Report- Unhandled Exception in 2.099 |
|
What were the variables you used for the calculation?
-DallanC
|
|
Back to top |
|
|
SyberShooter Member
Joined: Jul 23, 2010 Posts: 93 Location: Arizona
|
Posted: Tue Nov 29, 2011 10:13 am Post subject: Re: Bug Report- Unhandled Exception in 2.099 |
|
I was on a target page for a recent 44 Mag Pistol load using the following info:
Name: 240gr LRN
Color: Red
BC: .151 (from Speer #13 loading data),
Velocity: 1027.7 A
Bullet Wt: 240
Altitude: 4500
Zero Dist: 25
Temp: 70
Sight in Height: 0.00
Up/Down: 0
After hitting continue in the error box, it seems to produce data as expected.
If I plug in values for sight-in height and up/down angle, I still get the exception thrown.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at BallisticFuncs.Ballistics.FixWindDrift(SNAPSHOT[] snaps)
at BallisticFuncs.Ballistics.CalculateBallistics(SNAPSHOT[] snaps, Double BallisticCoeff, Double BulletWeight, Double Velocity, Double TargetZeroDistance, Double ScopeHeight, Double Temperature, Double Altitude, Double Angle, Int32 maxDistance, Int32 dx)
at PointBlank.ControlBallistics.MOATableHeader()
at PointBlank.ControlBallistics.btnRecompute_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
|
|
Back to top |
|
|
|
All times are GMT - 7 Hours
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|