[Mono-bugs] [Bug 536536] New: Application crashes when reading an XML schema

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 3 08:15:32 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=536536


           Summary: Application crashes when reading an XML schema
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: koehler at idas.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=316620)
 --> (http://bugzilla.novell.com/attachment.cgi?id=316620)
Zip-File with the application environment

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2)
Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)

Invoking a dataSet's ReadXmlSchema method with the XML schema of the attached
example produces a System.NullReferenceException.



Reproducible: Always

Steps to Reproduce:
1. Run the attached application
2.
3.
Actual Results:  
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at System.Data.XmlSchemaDataImporter.CreateChildColumn
(System.Data.DataColumn parentColumn, System.Data.DataTable childTable)
[0x00000] 
  at System.Data.XmlSchemaDataImporter.GenerateRelationship
(System.Data.RelationStructure rs) [0x00000] 
  at System.Data.XmlSchemaDataImporter.Process () [0x00000] 
  at System.Data.DataSet.ReadXmlSchema (System.Xml.XmlReader reader) [0x00000] 
  at System.Data.DataSet.ReadXmlSchema (System.String fileName) [0x00000] 
  at dgview2.Form1..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) dgview2.Form1:.ctor ()
  at dgview2.Program.Main () [0x00000] 
r

Expected Results:  
Normal startup of the application

-- 
Configure bugmail: http://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