[Mono-bugs] [Bug 78810][Maj] Changed - Crash with DataRelations

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 10 17:46:12 EDT 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 martin at ximian.com.


--- shadow/78810	2006-07-10 17:44:00.000000000 -0400
+++ shadow/78810.tmp.29256	2006-07-10 17:46:12.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78810
 Product: Mono: Class Libraries
 Version: 1.0
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Major
 Component: Sys.Data
 AssignedTo: tsenganal at novell.com                            
 ReportedBy: martin at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -24,6 +24,36 @@
 ------- Additional Comments From martin at ximian.com  2006-07-10 17:44 -------
 Created an attachment (id=17272)
 XSD-file as resource
+------- Additional Comments From martin at ximian.com  2006-07-10 17:46 -------
+Compile with
+mcs /debug /r:System.Data /resource:Data.xsd,DebuggerSession Data.cs
+and it crashes:
+martin at rohan:/work/mordor> mono --debug Data.exe
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+  at System.Data.DataRelation..ctor (System.String relationName,
+System.Data.DataColumn[] parentColumns, System.Data.DataColumn[]
+childColumns, Boolean createConstraints) [0x00074] in
+  at System.Data.XmlSchemaDataImporter.GenerateRelationship
+(System.Data.RelationStructure rs) [0x0010b] in
+  at System.Data.XmlSchemaDataImporter.Process () [0x00355] in
+  at System.Data.DataSet.ReadXmlSchema (System.Xml.XmlReader reader)
+[0x00000] in
+  at System.Data.DataSet.ReadXmlSchema (System.IO.Stream stream)
+[0x00008] in
+  at X.Main () [0x0001d] in /work/mordor/Data.cs:17
+martin at rohan:/work/mordor>

More information about the mono-bugs mailing list