Error when clicking "Request Info"

A tool for running ANTS Load projects interactively

Moderator: Brian Donahue

Error when clicking "Request Info"

Postby kconklin » Mon Oct 16, 2006 8:47 pm

Hello,

I'm getting the following exception when I click the 'Request Info' button. Could you give me a little info on just what this button is for? I'm not sure I'm even using it right. Thanks!

----------------------------------------------------------

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at ANTSScriptTest.Form1.button5_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.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
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
ANTSScriptTest
Assembly Version: 1.1.2463.27430
Win32 Version: 1.1.2463.27430
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/ANTSScriptTest.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/AxInterop.SHDocVw.DLL
----------------------------------------
RedGate.Ants.TestInformation
Assembly Version: 1.75.0.4
Win32 Version: 1.75.0.4
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/RedGate.Ants.TestInformation.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
RedGate.Ants.ScriptLibrary
Assembly Version: 1.75.0.4
Win32 Version: 1.75.0.4
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/RedGate.Ants.ScriptLibrary.DLL
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
RedGate.Ants.Topology
Assembly Version: 1.75.0.4
Win32 Version: 1.75.0.4
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/RedGate.Ants.Topology.DLL
----------------------------------------
RedGate.Ants.Probe
Assembly Version: 1.75.0.4
Win32 Version: 1.75.0.4
CodeBase: file:///C:/Program%20Files/ANTSLoad_ScriptTester_12/RedGate.Ants.Probe.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging=\"true\" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Kevin Conklin
Software Design Engineer in Test
Xerox Global Services
kconklin
 
Posts: 9
Joined: Fri Nov 11, 2005 4:04 pm

Postby Brian Donahue » Fri Nov 17, 2006 7:31 pm

I know the GUI is not so great, but considering the price of the product...

Anyway, the Request Info button is meant to show you a MessageBox with the current request's URL and headers and post data, if any. I need to look at this again because large amounts of post data totally kill the application.

If you send the ANTS Project to my email address with a quick note, I'll look into it.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Sat Nov 18, 2006 4:12 pm

Never mind: I know what's happened.

I have added in some logic to display a messagebox stating that there is currently no request in memory, which is a shade nicer than a NullReferenceException!
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Load script tester

Who is online

Users browsing this forum: No registered users and 0 guests