NPE fix when calculating MAF.
add log statement to determine why an adapter failed