Opened 18 years ago

Last modified 17 years ago

#107 closed enhancement (fixed)

BZ092 Sort on edit menu with an cancel edits may be causing this.

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

Description

I was testing the possibility of a "." in the accession list name was causing
the disappearance of the spreadsheet after an edit.

Created a list using NC7-maize.pvp as the query on inventory with an accession
presentation giving 322 items
I had named the list previous to the drag "Query on NC7-maize.pvp
Dragged successfully OK
Was in the acc spreadsheet
did ctrl-right, left, down, up to test that OK
went into edit
did ctrl-right, left, down, upd to test that OK
went to acp and did a ctrl-d as this is what I had done before. Worked but
instead of moving next I did a sort on the acp field. I could not get the
reset sort to come up so I just cancelled. I then got this error and on
opening I got the error again. again and again.

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.GrinGlobalClient.RefreshMainDGVFormatting()
at GrinGlobal.Client.GrinGlobalClient.treeView_AfterSelect(Object sender,

TreeViewEventArgs e)

at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.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.3321.41256
Win32 Version: 1.0.3277
CodeBase: ​file:///C:/000%20Programs/GrinGlobal/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


kgsj-9tg

Assembly Version: 1.0.3321.41256
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 comment: Sort removed from edit mode and carries from readonly mode.

No problem therefore in 2009-02-15 v1.0.3330.41660. Confirm this is the fix

with developer.

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

Again. Sorts need to be done in readonly mode and since edits are not done in
edit mode this should not be a problem.

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

Summary: Sort on edit menu with an cancel edits may be causing this. → BZ092 Sort on edit menu with an cancel edits may be causing this.
Note: See TracTickets for help on using tickets.