logger.error("No "+providerRole+", during "+getTimeUtils().dateString(getTaskUtils().getEndTime(task)));
logger.error("No "+providerRole+" for task " + task.getUID() + ", during "+getTimeUtils().dateString(getTaskUtils().getEndTime(task)));
    private Organization findBestSource(Task task) {	Enumeration support_orgs;        if (getTaskUtils().isProjection(task)) {            /* For a projection, should be time-phased as support               changes over time. We ignore that, for now */            support_orgs = getAssetUtils().getSupportingOrgs(myOrg, 							     providerRole, 							     getTaskUtils().getStartTime(task), 							     TaskUtils.getEndTime(task));        } else {            support_orgs = getAssetUtils().getSupportingOrgs(myOrg, providerRole,                                                         getTaskUtils().getEndTime(task));        }	if (support_orgs.hasMoreElements()) {	    // For now, returning the first supporting org during the time span	    return (Organization)support_orgs.nextElement();	}	else {	    String itemId = task.getDirectObject().getTypeIdentificationPG().getTypeIdentification();	    if (getTaskUtils().isProjection(task)) {		logger.error("No "+providerRole+", during "+getTimeUtils().dateString(getTaskUtils().getStartTime(task))+			   getTimeUtils().dateString(TaskUtils.getEndTime(task)));	    } else {		logger.error("No "+providerRole+", during "+getTimeUtils().dateString(getTaskUtils().getEndTime(task)));	    }	    // prevents same error message from being printed many times.	    if (!noResupply.contains(itemId)) {		logger.debug("findBestSource() <"+ providerRole +			   "> allocateRefillTask no best source for "+itemId);		noResupply.addElement(itemId);	    }	}	return null;    }