rem: if(serverCount == 1) ReloadSmtpPanel(); 
add: try{ReloadSmtpPanel();} catch(ex){} 
context: function msgOpenAccountWizard(){// Check to see if the verify accounts function was called with callback or not.  if (returnmycall)      window.openDialog("chrome://messenger/content/AccountWizard.xul",                        "AccountWizard", "chrome,modal,titlebar,resizable", {okCallback:WizCallback});  else      window.openDialog("chrome://messenger/content/AccountWizard.xul",                        "AccountWizard", "chrome,modal,titlebar,resizable");  //For the first account we need to reset the default smtp server in the panel.  var smtpService = Components.classes["@mozilla.org/messengercompose/smtp;1"].getService(Components.interfaces.nsISmtpService);  var serverCount = smtpService.smtpServers.Count();  if(serverCount == 1)    ReloadSmtpPanel();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c252f3e54b28344695121cd1bc68a1f660c3d593/accountUtils.js/buggy/mailnews/base/prefs/resources/content/accountUtils.js