[Mono-bugs] [Bug 414143] New: Crash: InvalidOperationException: At least one of the DataGridView control's columns has no cell template
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Aug 2 00:28:39 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=414143
Summary: Crash: InvalidOperationException: At least one of the
DataGridView control's columns has no cell template
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: miguel at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The following program (source code is available):
http://www.itu.dk/people/sestoft/corecalc/CoreCalc-0.5.zip
Unzip, then go to:
cd corecalc/CoreCalc
mono CoreCalc.exe
Then select File/New Sheet
It produces:
Unhandled Exception: System.InvalidOperationException: At least one of the
DataGridView control's columns has no cell template.
at System.Windows.Forms.DataGridView.get_RowTemplateFull () [0x00000]
at System.Windows.Forms.DataGridView.PrepareEditingRow (Boolean cell_changed,
Boolean column_changed) [0x00000]
at System.Windows.Forms.DataGridView.OnColumnAddedInternal
(System.Windows.Forms.DataGridViewColumnEventArgs e) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.DataGridView:OnColumnAddedInternal
(System.Windows.Forms.DataGridViewColumnEventArgs)
at System.Windows.Forms.DataGridViewColumnCollection.Add
(System.Windows.Forms.DataGridViewColumn dataGridViewColumn) [0x00000]
at System.Windows.Forms.DataGridView.set_ColumnCount (Int32 value) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.DataGridView:set_ColumnCount (int)
at CoreCalc.SheetTab..ctor (CoreCalc.WorkbookForm gui, CoreCalc.Sheet sheet)
[0x00000]
at (wrapper remoting-invoke-with-check) CoreCalc.SheetTab:.ctor
(CoreCalc.WorkbookForm,CoreCalc.Sheet)
at CoreCalc.WorkbookForm.newWorkbookToolStripMenuItem_Click (System.Object
sender, System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e)
[0x00000]
at System.Windows.Forms.ToolStripMenuItem.HandleClick (System.EventArgs e)
[0x00000]
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e,
ToolStripItemEventType met) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ToolStripItem:FireEvent
(System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
at System.Windows.Forms.ToolStrip.OnMouseUp
(System.Windows.Forms.MouseEventArgs mea) [0x00000]
at System.Windows.Forms.ToolStripDropDown.OnMouseUp
(System.Windows.Forms.MouseEventArgs mea) [0x00000]
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000]
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000]
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m)
[0x00000]
at System.Windows.Forms.ToolStripDropDown.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list