ECMS-4693 NPE while add/edit/delete a tab in a View - Check null before accessing to member of Object