fixinging null pointer

we have a null profile .. get name issue its logging now and I did a
null pointer check.. but it should not be there.. a role with a null
name... will investigate