Null-ptr bug fixed.

Fixed bug for null-divider if user has not defined in layout-xml for the list.