[Mono-bugs] [Bug 682119] New: uint? cannot be converted

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 23 18:58:40 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=682119

https://bugzilla.novell.com/show_bug.cgi?id=682119#c0


           Summary: uint? cannot be converted
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: stevens+novell at ischyrus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=421024)
 --> (http://bugzilla.novell.com/attachment.cgi?id=421024)
Example of issue

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16

Having a property of value type uint? cannot be converted by default.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
System.ArgumentException: failed to convert parameters
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00063] in
/Users/ischyrus/Source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:200 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in
/Users/ischyrus/Source/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:96 
  at System.Xaml.Schema.XamlMemberInvoker.SetValue (System.Object instance,
System.Object value) [0x00064] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml.Schema/XamlMemberInvoker.cs:83 
  at System.Xaml.XamlObjectWriterInternal.SetValue (System.Xaml.XamlMember
member, System.Object value) [0x00086] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlObjectWriter.cs:365 
  at System.Xaml.XamlObjectWriterInternal.OnWriteEndMember () [0x0020a] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlObjectWriter.cs:329 
  at System.Xaml.XamlWriterInternalBase.WriteEndMember () [0x0000b] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriterInternalBase.cs:209 
  at System.Xaml.XamlObjectWriter.WriteEndMember () [0x00000] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlObjectWriter.cs:195 
  at System.Xaml.XamlWriter.WriteNode (System.Xaml.XamlReader reader) [0x00079]
in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlWriter.cs:75 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader,
System.Xaml.XamlWriter xamlWriter, Boolean closeWriter) [0x00039] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:123 
  at System.Xaml.XamlServices.Transform (System.Xaml.XamlReader xamlReader,
System.Xaml.XamlWriter xamlWriter) [0x00000] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:109 
  at System.Xaml.XamlServices.Load (System.Xaml.XamlReader xamlReader)
[0x0001d] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:58 
  at System.Xaml.XamlServices.Load (System.Xml.XmlReader xmlReader) [0x00000]
in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:50 
  at System.Xaml.XamlServices.Load (System.String fileName) [0x00007] in
/Users/ischyrus/Source/mono/mcs/class/System.Xaml/System.Xaml/XamlServices.cs:35 
  at XamlTest.MainClass.Main (System.String[] args) [0x00000] in <filename
unknown>:0 

Expected Results:  
convert and set the value by default.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list