System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlAttributeCollection.get_ItemOf(String name) at tfox.CommonLibrary.CommonClass.AddNodeAttribute(XmlNode node, String AttributeName, String AttributeValue) at tfox.fenzhan.NGenerateSub.GeneratetfoxFields(String entity, XmlNode node) at tfox.fenzhan.NGenerateSub.GetData(String entity, String filter) at tfox.fenzhan.NGenerateSub.BindData(Match match, StringBuilder sb) at tfox.fenzhan.NGenerateSub.BindData(StringBuilder sb, String rootPath, String template) at tfox.fenzhan.NGenerateSub.GenerateHead(String rootPath, String template) at tfox.fenzhan.NGenerateSub.BindFixData(StringBuilder sb, String rootPath, String template) at tfox.fenzhan.NGenerateSub.BindData(StringBuilder sb, String rootPath, String template) at tfox.fenzhan.NGenerateSub.GenerateProList(String rootPath, String template, String typeid1, String id, String city, String py, String page)