Red Gate forums :: View topic - Overflow Exception (long post)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Overflow Exception (long post)

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
Jacob



Joined: 31 Mar 2006
Posts: 1

PostPosted: Mon Apr 10, 2006 10:15 pm    Post subject: Overflow Exception (long post) Reply with quote

[Full disclosure - I'm using the trial version right now waiting for the P.O. to be approved so that I can order the full, professional version]

I am encountering an overflow exception when ANTs Load tries to draw my selected performance counters. It appears to be related to the "Committed Bytes" counter. When I remove that counter, the graph renders just fine. If I re-add that counter and remove a different one, that error still occurs. My knowledge of the inner-details of the specific counters is somewhere between slim and none, so I don't know if it is even possible for something like this to occurs based simply on the counter data.

The script is quite simple:

Imports System
Imports RedGate.Ants.Engine

Public Class BrowserClient1
Inherits Control.VirtualClient

Protected Overrides Sub Run()
' Script created with Internet Explorer on 4/6/2006 10:27:09 AM

' Random pause of between and 1 and 2 seconds
' (Remove this line if you want all scripts to start at the same time)
RandomSleep(1000, 2000)

WebClient.HttpRequest.ProtocolVersion = "HTTP/1.1"
BeginPage("http://localhost/AGSTest/RenderPDF.aspx")
WebClient.HttpRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
WebClient.GET("http://localhost/AGSTest/RenderPDF.aspx")
EndPage("http://localhost/AGSTest/RenderPDF.aspx")
' End of page 1 contains 1 request(s).

' End of script contains 1 page(s).
End Sub
End Class

The exception details are (trimmed):

************** Exception Text **************
System.OverflowException: Overflow error.
at RedGate.Ants.Charts.Chart.PaintSeriesItem(RectangleF worldRectangle, Graphics g, Series s)
at RedGate.Ants.Charts.Chart.PaintSeries(Rectangle clipRectangle, Graphics g)
at RedGate.Ants.Charts.Chart.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
RedGate.Ants.UI
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
RedGate.Ants.Controls
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
RedGate.Ants.Backend
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.TestInformation
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.Topology
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
----------------------------------------
SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
----------------------------------------
RedGate.Ants.Protection
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.Probe
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.ScriptLibrary
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.WebReferences
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
RedGate.Ants.ScriptRecorder
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.WebReferences
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
----------------------------------------
Microsoft.Vsa.Hosting.DesignTime
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3077
----------------------------------------
Microsoft.Vsa
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
----------------------------------------
RedGate.Ants.WebReferences1
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
----------------------------------------
Microsoft.Vsa.Hosting
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3077
----------------------------------------
Microsoft.VisualBasic.Vsa.Dt
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3077
----------------------------------------
Microsoft.VisualBasic.Vsa
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
----------------------------------------
Microsoft_VsaVb
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
----------------------------------------
Microsoft.Vsa.Vb.CodeDOMProcessor
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
----------------------------------------
EnvDTE
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
----------------------------------------
VSLangProj
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9466
----------------------------------------
CustomMarshalers
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
----------------------------------------
Redgate.Ants.Charts
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.Engine
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
VBAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.70.0.10
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.4
----------------------------------------
RedGate.Ants.Controllers
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------
System.Runtime.Remoting
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
----------------------------------------
VBAssembly
Assembly Version: 0.0.0.0
Win32 Version: 1.70.0.10
----------------------------------------
RedGate.Ants.Sockets
Assembly Version: 1.70.0.10
Win32 Version: 1.70.0.10
----------------------------------------

If you need a full list of perf counters added, let me know and I can try and compile one. There are counters added for multiple machines.

Thanks-

Jacob
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Fri Apr 14, 2006 6:07 pm    Post subject: Reply with quote

Hi Jacob,

Thanks for pointing this out. The problem is a known issue that we haven't got around to fixing. The graphs all accept a 16-bit integer for plotting and the overflow happens when the performance counter returns an Int32. Some of the counters to stay away from are the one you mention and potentially Web Service\Total Bytes sent/recieved.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group