rem: var progress = (currentProgress * 100) / maxProgress; this.mStatusFeedback.showProgress(progress); 
add: if (this.mStatusFeedback) { var progress = (currentProgress * 100) / maxProgress; this.mStatusFeedback.showProgress(progress); } 
context:   updateProgressBar: function()  {    var currentProgress = 0;    var maxProgress = 0;    for (index in this.mFeeds)    {      currentProgress += this.mFeeds[index].currentProgress;      maxProgress += this.mFeeds[index].maxProgress;    }    // if we start seeing weird "jumping" behavior where the progress bar goes below a threshold then above it again,    // then we can factor a fudge factor here based on the number of feeds that have not reported yet and the avg    // progress we've already received for existing feeds. Fortunately the progressmeter is on a timer    // and only updates every so often. For the most part all of our request have initial progress    // before the UI actually picks up a progress value.     var progress = (currentProgress * 100) / maxProgress;    this.mStatusFeedback.showProgress(progress);  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2462f140180b273e6afefc0b3f95b0f3ee602811/newsblog.js/clean/mail/extensions/newsblog/js/newsblog.js