I have a strange error that occurs on loading an XML document:
The code is:
// create a document
XmlDocument myDoc = new XmlDocument();
// and load it from file
myDoc.Load(file name);
Inside of .Load()I am getting a System.NullRefe renceException in about 1 out
of 10 runs (always the same xml file).
The code is:
// create a document
XmlDocument myDoc = new XmlDocument();
// and load it from file
myDoc.Load(file name);
Inside of .Load()I am getting a System.NullRefe renceException in about 1 out
of 10 runs (always the same xml file).
Comment