mail-archives/mono-bugs/2009-March/087120.html

314 строки
12 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 485846] New: DataGrid: click or press keyRight to navigate to the last row crash the application
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20485846%5D%20New%3A%20DataGrid%3A%20click%20or%20press%20keyRight%20to%0A%20navigate%20to%20the%20last%20row%20crash%20the%20application&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="087119.html">
<LINK REL="Next" HREF="087121.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 485846] New: DataGrid: click or press keyRight to navigate to the last row crash the application</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20485846%5D%20New%3A%20DataGrid%3A%20click%20or%20press%20keyRight%20to%0A%20navigate%20to%20the%20last%20row%20crash%20the%20application&In-Reply-To="
TITLE="[Mono-bugs] [Bug 485846] New: DataGrid: click or press keyRight to navigate to the last row crash the application">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Mar 16 23:02:22 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="087119.html">[Mono-bugs] [Bug 478394] test bug-472600.2.exe fails on PPC64 in mono-2.4 RC3
</A></li>
<LI>Next message: <A HREF="087121.html">[Mono-bugs] [Bug 485846] DataGrid: click or press keyRight to navigate to the last row crash the application
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87120">[ date ]</a>
<a href="thread.html#87120">[ thread ]</a>
<a href="subject.html#87120">[ subject ]</a>
<a href="author.html#87120">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=485846">https://bugzilla.novell.com/show_bug.cgi?id=485846</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">cachen at novell.com</A> added comment
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=485846#c120">https://bugzilla.novell.com/show_bug.cgi?id=485846#c120</A>
Summary: DataGrid: click or press keyRight to navigate to the
last row crash the application
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: openSUSE 11.1
Status: NEW
Severity: Major
Priority: P5 - None
Component: Windows.Forms
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">cachen at novell.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
REPRO:
1. run the attachment datagrid.py sample
2. in application Gui, mouse click table cells in last row (*)
3. or in application Gui, press key right to navigate to the last row
RESULTS:
Application is crashed
System.IndexOutOfRangeException: There is no row at position 3.
at System.Data.DataRowCollection.get_Item (int) &lt;0x000d4&gt;
at (wrapper dynamic-method) object.get_Item##120 (object,object) &lt;0x00081&gt;
at IronPython.Runtime.Calls.FastCallable2.CallInstance
(IronPython.Runtime.Calls.ICallerContext,object,object) &lt;0x0001c&gt;
at IronPython.Runtime.Calls.FastCallable2.CallInstance
(IronPython.Runtime.Calls.ICallerContext,object,object[]) &lt;0x00032&gt;
at IronPython.Runtime.Calls.BoundBuiltinFunction.Call
(IronPython.Runtime.Calls.ICallerContext,object[]) &lt;0x0002c&gt;
at IronPython.Runtime.Operations.Ops.Call (object,object[]) &lt;0x0009c&gt;
at IronPython.Runtime.Types.DynamicType.Invoke
(object,IronPython.Runtime.SymbolId,object[]) &lt;0x00029&gt;
at IronPython.Runtime.Operations.Ops.Invoke
(object,IronPython.Runtime.SymbolId,object[]) &lt;0x00024&gt;
at IronPython.Runtime.Types.DynamicType.GetIndexHelper (object,object)
&lt;0x00139&gt;
at IronPython.Runtime.Types.DynamicType.GetIndex (object,object) &lt;0x00013&gt;
at IronPython.Runtime.Types.ReflectedType.GetIndex (object,object) &lt;0x00086&gt;
at IronPython.Runtime.Operations.Ops.GetIndex (object,object) &lt;0x00519&gt;
at __main__.datagrid_currencellchanged$f136
(IronPython.Runtime.Calls.FunctionEnvironment8Dictionary,object,object,object)
&lt;0x000f0&gt;
at IronPython.Runtime.Calls.Function3.Call
(IronPython.Runtime.Calls.ICallerContext,object,object,object) &lt;0x00027&gt;
at IronPython.Runtime.Calls.Function3.Call
(IronPython.Runtime.Calls.ICallerContext,object[]) &lt;0x000c4&gt;
at IronPython.Runtime.Calls.PythonFunction.CallInstance
(IronPython.Runtime.Calls.ICallerContext,object,object[]) &lt;0x00028&gt;
at IronPython.Runtime.Calls.Method.Call
(IronPython.Runtime.Calls.ICallerContext,object[]) &lt;0x0005a&gt;
at IronPython.Runtime.Operations.Ops.Call (object,object[]) &lt;0x0009c&gt;
at IronPython.Runtime.Types.ReflectedEvent/EventDispatcher.Call (object[])
&lt;0x0008c&gt;
at IronPython.Runtime.Operations.Ops.Call (object,object[]) &lt;0x00162&gt;
at IronPython.Runtime.Operations.Ops.Call (object,object,object) &lt;0x000a0&gt;
at (wrapper dynamic-method) object.System.Void(Object, EventArgs)##160
(object,object,System.EventArgs) &lt;0x00016&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at (wrapper delegate-invoke)
System.EventHandler.invoke_void__this___object_EventArgs
(object,System.EventArgs) &lt;0x00076&gt;
at System.Windows.Forms.DataGrid.OnCurrentCellChanged (System.EventArgs)
&lt;0x00056&gt;
at System.Windows.Forms.DataGrid.set_CurrentCell
(System.Windows.Forms.DataGridCell) &lt;0x004fd&gt;
at System.Windows.Forms.DataGrid.OnMouseDown
(System.Windows.Forms.MouseEventArgs) &lt;0x0031f&gt;
at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message&amp;)
&lt;0x0015b&gt;
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&amp;)
&lt;0x001ca&gt;
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage
(System.Windows.Forms.Message&amp;) &lt;0x0001a&gt;
at System.Windows.Forms.Control/ControlNativeWindow.WndProc
(System.Windows.Forms.Message&amp;) &lt;0x0002a&gt;
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) &lt;0x001d4&gt;
COMMENTS:
This must be a problem either with Mono, IronPython, or the sample, but I am
not sure, maybe someone can help take a look, thanks a lot!
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="087119.html">[Mono-bugs] [Bug 478394] test bug-472600.2.exe fails on PPC64 in mono-2.4 RC3
</A></li>
<LI>Next message: <A HREF="087121.html">[Mono-bugs] [Bug 485846] DataGrid: click or press keyRight to navigate to the last row crash the application
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87120">[ date ]</a>
<a href="thread.html#87120">[ thread ]</a>
<a href="subject.html#87120">[ subject ]</a>
<a href="author.html#87120">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>