Check for NULL shareList parameter.