LPS-42900 Adding removed code in LPS-32158, this code is necessary to check if the display views is null
LPS-42900 SF