[Mono-bugs] [Bug 339001] PropertyGrid on bad input throws exception whereas MSFT makes the user fix it

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 4 15:20:18 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=339001#c1





--- Comment #1 from Andy Hume <andyhume32 at yahoo.co.uk>  2007-11-04 13:20:18 MST ---
Exception stack trace is:
Unhandled Exception: System.Exception: zzzz is not a valid value for Int32.
---> System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider
fp) [0x00016] in D:\cygwin\usr\src\mono\mcs\class\corlib\System\Int32.cs:599 
  at System.ComponentModel.Int32Converter.ConvertFromString (System.String
value, System.Globalization.NumberFormatInfo format) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\System\System.ComponentModel\Int32Converter.cs:53 
  at System.ComponentModel.BaseNumberConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value) [0x00099] in
D:\cygwin\usr\src\mono\mcs\class\System\System.ComponentModel\BaseNumberConverter.cs:83
--- End of inner exception stack trace ---

  at System.ComponentModel.BaseNumberConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value) [0x000ad] in
D:\cygwin\usr\src\mono\mcs\class\System\System.ComponentModel\BaseNumberConverter.cs:86 
  at System.ComponentModel.TypeConverter.ConvertFrom (System.Object o)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\System\System.ComponentModel\TypeConverter.cs:70 
  at System.ComponentModel.TypeConverter.ConvertFromString (System.String text)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\System\System.ComponentModel\TypeConverter.cs:94 
  at
System.Windows.Forms.PropertyGridInternal.PropertyGridView.ProcessDialogKey
(Keys keyData) [0x00039] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\PropertyGridView.cs:331 
  at System.Windows.Forms.Control.ProcessDialogKey (Keys keyData) [0x0000b] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4379 
  at System.Windows.Forms.ContainerControl.ProcessDialogKey (Keys keyData)
[0x0008d] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\ContainerControl.cs:493 
  at System.Windows.Forms.Control.ProcessDialogKey (Keys keyData) [0x0000b] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:4379 
  at System.Windows.Forms.TextBoxBase.ProcessDialogKey (Keys keyData) [0x00000]
in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\TextBoxBase.cs:1077 
  at System.Windows.Forms.Control.InternalPreProcessMessage
(System.Windows.Forms.Message& msg) [0x00053] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3944 
  at System.Windows.Forms.Control.PreProcessMessage
(System.Windows.Forms.Message& msg) [0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3930 
  at System.Windows.Forms.Control.PreProcessControlMessageInternal
(System.Windows.Forms.Message& msg) [0x00064] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Control.cs:3905 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:PreProcessControlMessageInternal
(System.Windows.Forms.Message&)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x0025e] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:791 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00014] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:622 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] in
D:\cygwin\usr\src\mono\mcs\class\Managed.Windows.Forms\System.Windows.Forms\Application.cs:610 
  at PropGridObj.Main () [0x00035] in d:\Documents and Settings\alan\My
Documents\Temp\2007-10\PropGrid_\PropGridObj.cs:19 


-- 
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