Opened 17 years ago

Last modified 17 years ago

#193 closed defect (fixed)

BZ178 I received this unhandled exception on DEV1 TEST1 and LOCAAwith v1.0.3463.15356 when doing a show only PRIMRACE after a sort in the Crop Trait ID same on sort on accession name and selecting one

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

Description

I created a list of some 3000+ Zea accessions and then went to the get_traits
tab and didd a sort on Crop Trait ID and then filtered to show only PRIMRACE.

I also was able to duplicate by sorting on names in the get_accessions and then
selecting 1

It maybe that whenever you sort and select on a lookup field that this happens.

I will continue to work scenarios

Before I posted this I tried orders and did a select on the first final address
and got the error..... The sort may not have anyting to do with it.

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

Exception Text
System.Data.EvaluateException: Cannot perform '=' operation on System.Int32 and
System.String.

at System.Data.BinaryNode.SetTypeMismatchError(Int32 op, Type left, Type

right)

at System.Data.BinaryNode.BinaryCompare(Object vLeft, Object vRight,

StorageType resultType, Int32 op)

at System.Data.BinaryNode.EvalBinaryOp(Int32 op, ExpressionNode left,

ExpressionNode right, DataRow row, DataRowVersion version, Int32[] recordNos)

at System.Data.BinaryNode.Eval(DataRow row, DataRowVersion version)
at System.Data.DataExpression.Invoke(DataRow row, DataRowVersion version)
at System.Data.Index.AcceptRecord(Int32 record, IFilter filter)
at System.Data.Index.InitRecords(IFilter filter)
at System.Data.Index..ctor(DataTable table, Int32[] ndexDesc, IndexField[]

indexFields, Comparison`1 comparison, DataViewRowState recordStates, IFilter
rowFilter)

at System.Data.DataTable.GetIndex(IndexField[] indexDesc, DataViewRowState

recordStates, IFilter rowFilter)

at System.Data.DataView.UpdateIndex(Boolean force, Boolean fireEvent)
at System.Data.DataView.UpdateIndex(Boolean force)
at System.Data.DataView.SetIndex2(String newSort, DataViewRowState

newRowStates, IFilter newRowFilter, Boolean fireEvent)

at System.Data.DataView.SetIndex(String newSort, DataViewRowState

newRowStates, IFilter newRowFilter)

at System.Data.DataView.set_RowFilter(String value)
at

GrinGlobal.Client.GrinGlobalClient.showOnlyRowsWithThisDataToolStripMenuItem_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.3082 (QFE.050727-3000)
CodeBase: ​file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


GRINGlobal-CuratorTool

Assembly Version: 1.0.3463.15356
Win32 Version: 1.0.3463
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.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


f-coooon

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


Accessibility

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

Change History (2)

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

Ok in orders on final address. Inventory on accession id and Backup inventory
ID. Names on accession ID, Accessions on Taxonomy, Accession ID and Taxonomy on
Order Items, Trait ID on traits results.

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

Summary: I received this unhandled exception on DEV1 TEST1 and LOCAAwith v1.0.3463.15356 when doing a show only PRIMRACE after a sort in the Crop Trait ID same on sort on accession name and selecting one → BZ178 I received this unhandled exception on DEV1 TEST1 and LOCAAwith v1.0.3463.15356 when doing a show only PRIMRACE after a sort in the Crop Trait ID same on sort on accession name and selecting one
Note: See TracTickets for help on using tickets.