getPermission does not return null, and we can't catch the exception.