Bug 311352 (MONO28531) - ** ERROR **: Type 0x1c not handled in custom attr value decoding
Summary: ** ERROR **: Type 0x1c not handled in custom attr value decoding
Status: RESOLVED FIXED
Alias: MONO28531
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Debian Woody
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-04 00:10 UTC by Tim Coleman
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 17:59:39 UTC


---- Reported by tim@timcoleman.com 2002-08-03 17:10:48 MST ----

Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
Attempting to serialize properties to Xml which have DefaultValue
attributes that are not null.

The offending code which makes the call is in the FromProperty ()
method of System.Xml.Serialization.XmlAttributes.  The call to 
member.GetCustomAttribute () fails with an error.

Steps to reproduce the problem:
1. There aren't really any straightforward steps unfortunately;  I arrived
at this after bushwhacking my way through a bunch of code.
2. 
3. 

Actual Results:
** ERROR **: Type 0x1c not handled in custom attr value decoding
aborting...

Expected Results:
Not an error.

How often does this happen? 
Whenever I try to serialize a ServiceDescription object to Xml.

Additional Information:
Please contact Tim Coleman (tim@timcoleman.com) if you require more 
information about this bug.  It's a little tricky to describe. 

The following code snippet should generate the bug.

using System;
using System.IO;
using System.Web.Services.Description;

public class WebServiceDescription {
        public static void Main ()
        {
                TextWriter textWriter = new StringWriter ();
                ServiceDescription serviceDescription = new
ServiceDescription ();
                Binding binding = new Binding ();
                binding.Name = "binding";
                serviceDescription.Bindings.Add (binding);
                serviceDescription.Write (textWriter);
                Console.WriteLine (textWriter.ToString ());
        }
}



---- Additional Comments From lupus@ximian.com 2002-08-05 08:39:57 MST ----

Fixed in cvs.