Opened 17 years ago

Closed 16 years ago

#368 closed defect (fixed)

CT Exception Error when adding new accession to a fresh install (no list selected)

Reported by: rlittle Owned by: Pete Cyr
Priority: major Milestone: Release Candidate 1
Component: Curator Tool Version: 1.0.3715.38967
Severity: Keywords:
Cc: Database Engine: SQL Server
Operating System: Vista Home Premium 32 bit

Description

(see attached images)

Brand new install of Database (no lists for the user exist).

Upon launching the CT, the only clicks made were to set the Accession tab to show both the spreadsheet and form view >> Edit Data >> (plus sign) Add new record >> entered data for new accession >> Save Data (see image 1)

Exception error is given (see bottom) >> click Continue (see image 2)

Form is still present - only option is to Save Data or Cancel. I choose Save Data again. (see image 3)

System states that I tried to enter a duplicate object. Say OK (see image 4)

Rather than stay in a loop, I click Cancel (see image 5)

System prompts that I have one unsaved row. Oh well....click Yes anyway to continue the cancel. (see image 6) After clicking yes, the datagrid shows nothing.

I do a search for the record and it is there. (see image 7)

* Exception Error from above (image 2) *
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 GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.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.4200 (NetFxQFE.050727-4200)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

Assembly Version: 1.0.3715.38967
Win32 Version: 1.0.3715.38967
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.exe


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
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.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


GRINGlobal.Client.Common

Assembly Version: 1.0.3715.38965
Win32 Version: 1.0.3715.38965
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL


AccessionForm

Assembly Version: 1.0.3715.38966
Win32 Version: 1.0.3715.38966
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll


ImageForm

Assembly Version: 1.0.3715.38966
Win32 Version: 1.0.3715.38966
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll


InventoryForm

Assembly Version: 1.0.3715.38966
Win32 Version: 1.0.3715.38966
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll


OrderForm

Assembly Version: 1.0.3715.38966
Win32 Version: 1.0.3715.38966
CodeBase: ​file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/OrderForm.dll


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll


vb7x90ph

Assembly Version: 1.0.3715.38965
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Transactions

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll


System.EnterpriseServices

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll


Accessibility

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
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.

Attachments (7)

CT-Exception-newRecord1.gif​ (77.9 KB ) - added by rlittle 17 years ago.
Image 1
CT-Exception-newRecord2.gif​ (82.4 KB ) - added by rlittle 17 years ago.
Image 2
CT-Exception-newRecord3.gif​ (79.1 KB ) - added by rlittle 17 years ago.
Image 3
CT-Exception-newRecord4.gif​ (56.8 KB ) - added by rlittle 17 years ago.
Image 4
CT-Exception-newRecord5.gif​ (77.0 KB ) - added by rlittle 17 years ago.
Image 5
CT-Exception-newRecord6.gif​ (61.8 KB ) - added by rlittle 17 years ago.
Image 6
CT-Exception-newRecord7.gif​ (37.3 KB ) - added by rlittle 17 years ago.
Image 7

Download all attachments as: .zip

Change History (11)

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord1.gif​ added

Image 1

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord2.gif​ added

Image 2

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord3.gif​ added

Image 3

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord4.gif​ added

Image 4

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord5.gif​ added

Image 5

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord6.gif​ added

Image 6

by rlittle, 17 years ago

Attachment: CT-Exception-newRecord7.gif​ added

Image 7

comment:1 by Pete Cyr, 16 years ago

Status: new → addressed

comment:2 by rlittle, 16 years ago

Status: addressed → released

comment:3 by rlittle, 16 years ago

Status: released → verified

comment:4 by Mark J. Millard, 16 years ago

Resolution: → fixed
Status: verified → closed

I checked with v1.0.3870.18136 and I did not get an exception when adding an accession record on a new install. I did notice that the form is out of date. I'll close this ticket and see if there is one to get the form updated.

Note: See TracTickets for help on using tickets.