rem: dump("XXX ex " + server1.URI + "," + ex + "\n"); 
add: dump("XXX ex "); if (server1 && server1.URI) dump(server1.URI + ","); dump(ex + "\n"); 
context: function compareServerSortOrder(server1, server2){  var sortValue1, sortValue2;  try {    var res1 = RDF.GetResource(server1.URI);    sortValue1 = gAccountManagerDataSource.GetTarget(res1, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value;  }  catch (ex) {    dump("XXX ex " + server1.URI + "," + ex + "\n");    sortValue1 = "";  }  try {    var res2 = RDF.GetResource(server2.URI);    sortValue2 = gAccountManagerDataSource.GetTarget(res2, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value;  }  catch (ex) {    dump("XXX ex " + server2.URI + "," + ex + "\n");    sortValue2 = "";  }  if (sortValue1 < sortValue2)    return -1;  else if (sortValue1 > sortValue2)    return 1;  else     return 0;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/02042d1a41a159cfef28ec27aa5d89c18c1bb611/msgViewNavigation.js/buggy/mailnews/base/resources/content/msgViewNavigation.js