rem:   gSpamSettings[key].server.spamSettings = gSpamSettings[key].settings; 
add: try {   gSpamSettings[key].server.spamSettings = gSpamSettings[key].settings; } catch (ex) { dump("spam setting not saved: " + ex); } 
context: function onAccept(){  // store the current changes  storeSettings(gSpamSettings[gCurrentServer.key].settings, gCurrentServer.spamSettings.loggingEnabled);  for (var key in gSpamSettings) {    // if they hit ok, set the "real" server's spam settings.      // this will set prefs.    gSpamSettings[key].server.spamSettings = gSpamSettings[key].settings;  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b61ce1ff5462a724e92c69f673859bfabda4844/junkMail.js/buggy/mailnews/base/resources/content/junkMail.js