Opened 17 years ago

Closed 16 years ago

#348 closed defect (fixed)

Ctrl-c or right click context copy on cells in edit mode cause exeption on foreign key lookups

Reported by: Mark J. Millard Owned by: Pete Cyr
Priority: critical Milestone: Beta 3
Component: Curator Tool Version: 1.0.3707.37426
Severity: Keywords:
Cc: pete.cyr@… Database Engine: N/A
Operating System: N/A

Description

I tried the new feature of a right click copy or a ctrl-c on the taxonomy and origin fields and I get an exception.

Does the same with skunk works version 1.0.3709.22978

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_datagridviewMain_KeyDown(Object sender, KeyEventArgs e)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.ux_dgvcellmenuEditCopy_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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
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.ScrollableControl.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.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.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

Assembly Version: 1.0.3707.37426
Win32 Version: 1.0.3707.37426
CodeBase: ​file:///C:/Program%20Files%20(x86)/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal-CuratorTool.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


System.Data

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
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.4926 built by: NetFXw7
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll


GRINGlobal.Client.Common

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


AccessionForm

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


ImageForm

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


InventoryForm

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


OrderForm

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


System.Web.Services

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.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


op2pvjmz

Assembly Version: 1.0.3707.37424
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.Transactions

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
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.4927 (NetFXspW7.050727-4900)
CodeBase: ​file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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 (4)

comment:1 by Pete Cyr, 16 years ago

Status: new → addressed

comment:2 by Pete Cyr, 16 years ago

Status: addressed → released

This was handled in a previous build - please verify and close the ticket.

comment:3 by rlittle, 16 years ago

Status: released → verified

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

Resolution: → fixed
Status: verified → closed

Workes in v1.0.3870.18136.

Note: See TracTickets for help on using tickets.