[Mono-bugs] [Bug 80105][Wis] New - Placing a datagridview on a form gives exception when ran
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Nov 30 17:05:50 EST 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by mitcheloc at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80105
--- shadow/80105 2006-11-30 17:05:50.000000000 -0500
+++ shadow/80105.tmp.6538 2006-11-30 17:05:50.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 80105
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: mitcheloc at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Placing a datagridview on a form gives exception when ran
+
+Plain form no extras, using 2.0 syntax, this can be fixed in the code by
+hard coding dataGridView1.Text = ""; before the control is added to the form.
+
+ubuntu:~/Desktop/Shared Folder/YouTubeAPI$ mono Program.exe
+
+Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
+Parameter name: s
+ at System.Text.Encoding.GetByteCount (System.String s) [0x00000]
+ at System.Text.UTF8Encoding.GetByteCount (System.String s) [0x00000]
+ at System.Windows.Forms.XplatUIX11.Text (IntPtr handle, System.String
+text) [0x00000]
+ at System.Windows.Forms.XplatUIX11.CreateWindow
+(System.Windows.Forms.CreateParams cp) [0x00000]
+ at System.Windows.Forms.XplatUI.CreateWindow
+(System.Windows.Forms.CreateParams cp) [0x00000]
+ at System.Windows.Forms.NativeWindow.CreateHandle
+(System.Windows.Forms.CreateParams create_params) [0x00000]
+ at System.Windows.Forms.Control.CreateHandle () [0x00000]
+ at System.Windows.Forms.Control.get_Handle () [0x00000]
+ at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:get_Handle ()
+ at System.Windows.Forms.Control.UpdateChildrenZOrder () [0x00000]
+ at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:UpdateChildrenZOrder ()
+ at System.Windows.Forms.Control+ControlCollection.Add
+(System.Windows.Forms.Control value) [0x00000]
+ at YouTubeAPI.Form1.InitializeComponent () [0x00000]
+ at YouTubeAPI.Form1..ctor () [0x00000]
+ at (wrapper remoting-invoke-with-check) YouTubeAPI.Form1:.ctor ()
+ at YouTubeAPI.Program.Main () [0x00000]
+ubuntu:~/Desktop/Shared Folder/YouTubeAPI$ mono --version
+Mono JIT compiler version 1.2.1, (C) 2002-2006 Novell, Inc and
+Contributors. www.mono-project.com
+ TLS: __thread
+ GC: Included Boehm (with typed GC)
+ SIGSEGV: normal
+ Disabled: none
More information about the mono-bugs
mailing list