Change CollectionUtil.size to return 0. A null collection has no items. It does not have -1 items.