HuntingNut
HuntingNut
   Login or Register
HomeCommunity ForumsPhoto AlbumsRegister
     
 

User Info

Welcome Anonymous

Nickname
Password

Membership:
Latest: Fantom
New Today: 0
New Yesterday: 0
Overall: 13210

People Online:
Members: 0
Visitors: 138
Bots: 1
Staff: 0
Staff Online:

No staff members are online!
 

Coppermine Stats
Photo Albums
 Albums: 315
 Pictures: 2477
  · Views: 826815
  · Votes: 1316
  · Comments: 85
 

Bug Report- Unhandled Exception in 2.099
Post your bug reports or feature requests here!

View previous topic :: View next topic  
Author Message
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Tue Nov 29, 2011 8:51 am    Post subject: Bug Report- Unhandled Exception in 2.099 Reply with quote

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
View user's profile
DallanC
Site Admin
Site Admin


Joined: Jan 18, 2005
Posts: 3615
Location: Utah

PostPosted: Tue Nov 29, 2011 9:40 am    Post subject: Re: Bug Report- Unhandled Exception in 2.099 Reply with quote

What were the variables you used for the calculation?


-DallanC
Back to top
View user's profile Photo Gallery
SyberShooter
Member
Member


Joined: Jul 23, 2010
Posts: 93
Location: Arizona

PostPosted: Tue Nov 29, 2011 10:13 am    Post subject: Re: Bug Report- Unhandled Exception in 2.099 Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index » Bug Reports / Feature Requests
Page 1 of 1
All times are GMT - 7 Hours



Jump to:  


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


Valid CSS! Valid HTML 4.01!
Click to check if this page is realy HTML 4.01 compliant for speed :)

All logos and trademarks in this site are property of HuntingNut.com.
The comments are property of their posters, all the rest © 2011 by HuntingNut.com
Interactive software released under GNU GPL, Code Credits, Privacy Policy

.: Upgraded to DragonFly 9.2 by *Dizfunkshunal* :.