[Mono-bugs] [Bug 76288][Wis] New - NullReferenceException when writing out XmlSchema

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 30 00:07:00 EDT 2005


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 duncan at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76288

--- shadow/76288	2005-09-30 00:07:00.000000000 -0400
+++ shadow/76288.tmp.25164	2005-09-30 00:07:00.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 76288
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: lluis at ximian.com                            
+ReportedBy: duncan at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NullReferenceException when writing out XmlSchema
+
+This test case requires this particular schema: 
+http://schemas.xmlsoap.org/ws/2004/08/addressing/
+
+Compile the test case and run it with the schema as an argument.
+
+Expected:
+The schema printed out on Console.Out.
+
+Actual:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00006>
+System.Xml.Serialization.XmlSerializationWriter:CreateUnknownTypeException
+(System.Object o)
+in <0x00232>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchemaDocumentation
+(System.Xml.Schema.XmlSchemaDocumentation ob, System.String element,
+System.String namesp, Boolean isNullable, Boolean needType, Boolean
+writeWrappingElem)
+in <0x00316>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchemaAnnotation
+(System.Xml.Schema.XmlSchemaAnnotation ob, System.String element,
+System.String namesp, Boolean isNullable, Boolean needType, Boolean
+writeWrappingElem)
+in <0x00329>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchemaAny
+(System.Xml.Schema.XmlSchemaAny ob, System.String element, System.String
+namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem)
+in <0x00385>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchemaSequence
+(System.Xml.Schema.XmlSchemaSequence ob, System.String element,
+System.String namesp, Boolean isNullable, Boolean needType, Boolean
+writeWrappingElem)
+in <0x005c3>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchemaComplexType
+(System.Xml.Schema.XmlSchemaComplexType ob, System.String element,
+System.String namesp, Boolean isNullable, Boolean needType, Boolean
+writeWrappingElem)
+in <0x00ade>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteObject_XmlSchema
+(System.Xml.Schema.XmlSchema ob, System.String element, System.String
+namesp, Boolean isNullable, Boolean needType, Boolean writeWrappingElem)
+in <0x0004f>
+System.Xml.Schema.XmlSchemaSerializationWriter:WriteRoot_XmlSchema
+(System.Object o)
+in <0x0004d> System.Xml.Schema.XmlSchemaSerializer:Serialize (System.Object
+o, System.Xml.Serialization.XmlSerializationWriter writer)
+in <0x000b9> System.Xml.Serialization.XmlSerializer:Serialize
+(System.Xml.XmlWriter writer, System.Object o,
+System.Xml.Serialization.XmlSerializerNamespaces namespaces)


More information about the mono-bugs mailing list