Red Gate forums :: View topic - Error when clicking "Request Info"
Return to www.red-gate.com RSS Feed Available

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

ANTS Load script tester forum

Error when clicking "Request Info"

Search in ANTS Load script tester 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
kconklin



Joined: 11 Nov 2005
Posts: 9

PostPosted: Mon Oct 16, 2006 8:47 pm    Post subject: Error when clicking "Request Info" Reply with quote

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
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Fri Nov 17, 2006 7:31 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Sat Nov 18, 2006 4:12 pm    Post subject: Reply with quote

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!
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