rem: if (this.mDefaultCalendar && this.mDefaultCalendar.uri.equals(cal.uri)) 
add:  if (this.mDefaultCalendar && cal && this.mDefaultCalendar.uri.equals(cal.uri)) 
context:     setDefaultCalendar: function (cal, usePref) {        if (this.mDefaultCalendar && this.mDefaultCalendar.uri.equals(cal.uri))            return;        if (usePref && this.mPrefPrefix) {            if (this.mDefaultCalendar) {                getCalendarManager().deleteCalendarPref(this.mDefaultCalendar,                                                this.mDefaultPref);            }            getCalendarManager().setCalendarPref(cal, this.mDefaultPref,                                         "true");        }        this.mDefaultCalendar = cal;        this.notifyObservers("onDefaultCalendarChanged", [cal]);    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/fe0a8d22a0b707fa8bf4a62903a8e1cc0a15c8b6/calCompositeCalendar.js/buggy/calendar/providers/composite/calCompositeCalendar.js