Opened 17 years ago
Closed 16 years ago
#318 closed defect (fixed)
Clicking Edit Button after creating a new list tab, folder, and subfolder causes Index was out of range exception
| Reported by: | Mark J. Millard | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | blocker | Milestone: | Beta 3 |
| Component: | Curator Tool | Version: | |
| Severity: | Keywords: | Grid View Editor | |
| Cc: | Database Engine: | SQL Server | |
| Operating System: | N/A |
Description
I added a new tab and named it copying the name. Then I added a new folder pasting the name of the tab into the new folder. Then I created a new subfolder called New Accessions. I was parked on the accessions GRID view tab. I hit edit and I got an exception.
I did this on local v1.03692.34716 database components 1.5.988 with XP PRO and Windows 7 64-bit Ultimate hooked to DEV1 same versions.
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name:index."
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
Exception Text
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
at System.Windows.Forms.DataGridView.get_Item(Int32 columnIndex, Int32 rowIndex)
at GRINGlobal.Client.CuratorTool.GRINGlobalClientCuratorTool.ux_buttonEditData_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.3603 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
GRINGlobal-CuratorTool
Assembly Version: 1.0.3692.34716
Win32 Version: 1.0.3692.34716
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.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
GRINGlobal.Client.Common
Assembly Version: 1.0.3692.34714
Win32 Version: 1.0.3692.34714
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/GRINGlobal.Client.Common.DLL
Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/AccessionForm.dll
Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/ImageForm.dll
Assembly Version: 1.0.3692.34715
Win32 Version: 1.0.3692.34715
CodeBase: file:///C:/Program%20Files/GRIN-Global/GRIN-Global%20Curator%20Tool/Forms/InventoryForm.dll
Assembly Version: 1.0.3692.34714
Win32 Version: 1.0.3692.34714
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
7fewia6x
Assembly Version: 1.0.3692.34714
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.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.
Attachments (1)
Change History (8)
by , 17 years ago
| Attachment: | EditAccessionOnNewList_2010-02-13_2-13-2010 9-47-18 AM.jpg added |
|---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Priority: | critical → blocker |
|---|
To further determine the source of this problem, I went back to some earlier versions just before this version was put to DEV1 which has a date of 2010-02-09. I did an uninstall through the control panel and stepped forward until the problem appeared. It looks like this is the only version with this problem. v1.0.3678.932 was ok on this problem early on 2010-01-26. The problem also did not exist on v1.0.3681.42688 was ok on this 2010-01-29. Only when I put v1.03692.34716 from directory 2010-02-09 or from the updater does the problem occur. Also, you cannot continue over it and add records in the GRID VIEW. I also did a clear cache as there was some discussion of dataviews changing. NO GO.
comment:3 by , 17 years ago
This happens only on folders with no items. You can edit on a list with 1 or more items in the list and presented on the grid view.
comment:4 by , 16 years ago
| Status: | new → addressed |
|---|
comment:5 by , 16 years ago
| Status: | addressed → released |
|---|
This was handled in a previous build - please verify and close the ticket.
comment:6 by , 16 years ago
| Status: | released → verified |
|---|
comment:7 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | verified → closed |

Since we have been changing sql on dataviews and also names especially get_accession from get_accessions, I tried on test1 which I don't think been touched on dataviews. It gave the same problem.
I also tried the edit key on other dataviews besides get_accession on DEV1, TEST1, and LOCAL. All give the same error.