Opened 18 years ago

Last modified 17 years ago

#137 closed defect (fixed)

BZ122 Not filling in required fields causes an UNHANDLED EXCEPTION

Reported by: Mark J. Millard Owned by: Mark J. Millard
Priority: blocker Milestone: Beta 1
Component: Curator Tool Version: Beta 3
Severity: critical Keywords: CC1 Client Component 1
Cc: lisa.burke@… Database Engine: N/A
Operating System: N/A

Description

We don't have a nice way to tell the user they didn't fill in required fields.

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

Exception Text
System.ArgumentException: Column 'SavedStatus' does not belong to table
get_accessions.

at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRow.get_Item(String columnName)
at GrinGlobal.Client.GrinGlobalClient.ux_buttonSaveData_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)

Loaded Assemblies
mscorlib

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: ​file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GrinGlobal.Client

Assembly Version: 1.0.3336.43030
Win32 Version: 1.0.3336
CodeBase:

​file:///C:/Program%20Files/GRIN-Global/Curator%20Tool/GrinGlobal.Client.exe


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Data

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


System.Xml

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.Core

Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.1 built by: SP
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


System.Configuration

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll


h2xwljks

Assembly Version: 1.0.3336.43030
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase:

​file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.

Change History (3)

comment:1 by Mark J. Millard, 18 years ago

Whiteboard change: Unhandled Exception does not occurr in v1.0.3338.50 on
2009-02-21, but it is not clear to the user that there is a problem.

Indicator asking whether to add to list is good.

comment:2 by Mark J. Millard, 18 years ago

Whiteboard: Unhandled Exception does not occurr in v1.0.3338.50 on
2009-02-21(GOOD), but it is not clear to the user that there is a problem.

comment:3 by Mark J. Millard, 17 years ago

Summary: Not filling in required fields causes an UNHANDLED EXCEPTION → BZ122 Not filling in required fields causes an UNHANDLED EXCEPTION
Note: See TracTickets for help on using tickets.