1
Vote

Bug: Unhandled exception occured when attempting to export as XML

description

Exporting to XML is a pretty basic function, and the primary reason why I downloaded this tool - and I get the below error. I am running on Windows 7, and I run the tool as Administrator.
 
Please advise - I'd really like to use this - but I have to have the XML format.
 
Thanks!
 
Sandy
 
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.ArgumentException: Input string was not in a correct format.Couldn't store <TestcaseId> in TestcaseId Column. Expected type is Int32. ---> System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Data.Common.Int32Storage.Set(Int32 record, Object value)
at System.Data.DataColumn.set_Item(Int32 record, Object value)
--- End of inner exception stack trace ---
at System.Data.DataColumn.set_Item(Int32 record, Object value)
at System.Data.DataRow.set_Item(DataColumn column, Object value)
at TestCaseModel.TestCaseExporter.ExportXml(Boolean withHeader)
at TestCaseModel.TestCaseExporter.ExportData(DataTable dt)
at TestCaseGenerator.FrmMain.ExportTestCases(ExportType t)
at TestCaseGenerator.FrmMain.xMLToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(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)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

TestCaseGenerator
Assembly Version: 1.2.2.0
Win32 Version: 1.2.2.0

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/TestCaseGenerator.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

AppCore
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/AppCore.DLL

TestCaseModel
Assembly Version: 1.2.2.0
Win32 Version: 1.2.2.0

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/TestCaseModel.DLL

ConfigMgmtEx
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/ConfigMgmtEx.DLL

SerializationHelperLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/SerializationHelperLib.DLL

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

Ascend.Windows.Forms
Assembly Version: 1.0.0.6
Win32 Version: 1.0.0.6

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/Ascend.Windows.Forms.DLL

Ascend.Resources
Assembly Version: 1.0.0.6
Win32 Version: 1.0.0.6

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/Ascend.Resources.DLL

Ascend
Assembly Version: 1.0.0.6
Win32 Version: 1.0.0.6

CodeBase: file:///C:/Users/Sandyri/Documents/TestCaseGenerator-1.3.0.0%5B1%5D/Ascend.DLL

Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

 
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.

comments