AccessSection.permissions and Permission.rules may not be set and null values should be handled in the equals methods. We saw this NPE when PermissionCollection tried to sort the access sections. Change-Id: I6f5a0886e6f9e5498fe9d756f289c5e91ed3485e Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>