Content-2532: check whether portal settings is null.