rem: var messageResource = RDF.GetResource(gCurrentMessageUri); if(messageResource) 
add: if(gCurrentMessageUri) 
context: function GetLoadedMessage(){	var messageResource = RDF.GetResource(gCurrentMessageUri);	if(messageResource)	{		var message = messageResource.QueryInterface(Components.interfaces.nsIMessage);		return message;	}	return null;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d63000ffb06f1c74b5d3215477135715d57355d7/messageWindow.js/buggy/mailnews/base/resources/content/messageWindow.js